On Wed, Aug 02, 2006 at 10:03:55AM -0700, lianep at eng.sun.com wrote:

> > One of the Xen daemons (xend) has both /var/log/xend.log, and
> > /var/log/xend-debug.log. Both of them are often useful in locating problems.
> 
> Is the debug log always on, or on based on a specific configuration 
> choice?  Can either be redirected to a different location?

It can be disabled. /var/log/xend.log can be changed to somewhere else, but
xend-debug.log currently cannot. The latter can be quite verbose.

There is also a hotplug-related xendev-event.log which, whilst not maintained
by xend itself, is closely related to either xend or xenstored (which has a
debug log of its own too).

(Frankly, they all need some serious reworking.)

> I'm not picking on Xen -- just trying to use this case to understand one 
> example outlier to the more common model of command line switches 
> dictating both the single logfile location and verbosity (if tunable).

The configuration model from upstream is a free-form file,
/etc/xen/xend-config.sxp. Currently I'm leaning towards making these be
properties on the service, mainly due to the difficulty in machine-reading this
file. Hence the question :)

I've started work on a fast-track for these daemons, but it's a way off being
in a distributable state.

regards
john

Reply via email to