[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Questions about LOG system



Well, I have found the wrong code.
The macro DPRINTFÂ points to
#define DPRINTF(_f, _a...) xc_report(xch, xch->error_handler, XTL_DETAIL, 0, _f, ## -a)
So is this Xen's private log system ? Where messages write via xc_report and xc_report_error function?

Thank you.

On Tue, Feb 14, 2012 at 5:25 PM, Ian Campbell <Ian.Campbell@xxxxxxxxxx> wrote:
On Tue, 2012-02-14 at 07:03 +0000, ææå wrote:
[...]
> and there are three frequently used macro for logging:
> #define DPRINTF(_f, _a...) syslog(LOG_INFO, _f, ##_a)

Syslog is a standard Unix function (SUSv2 and/or POSIX IIRC) and not
something specific to Xen. Google or "man -k" should be able to find you
more details of this and related functions.

> Who can tell me which file match these log type above? Thank you.

The final location will depend somewhat on your distro's configuration,
it's likely to be somewhere under /var/log. A distro specific list or
forum would be a more appropriate place to pursue this.

Ian.






--
Chunqi Li
Department of Computer Science
School of EECS
Peking University
Beijing, China
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.