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

[Xen-devel] [PATCH 0/4] xenstore domain: improve logging capabilities



Hi,

When xenstore is run as a domain there is no way to get log messages from the
process.  This small series adds a new --trace-syslog option which will copy
trace() and xprintf() messages to syslog, in the MiniOS case this directs to
the kernel printk().  When it is enabled in the xenstore domain messages are
recorded on the hypervisor console according to the guest_loglvl.

A new xenstore control is also added so that the functionality can be toggled
dynamically at runtime.

I think there is possibly some room for further enhancements so that it is
more easily possible to log at different priorities rather than a simple
trace() = LOG_DEBUG, xprintf() = LOG_ERR.  Perhaps the addition of some
more macros similar to eprintf could be useful too.  If such change would
be considered useful then some guidance on the most appropriate direction
to take would be helpful.

The series is based on 4.11.3 but I can rebase it to master.

James


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

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