The attached patch moves all of the various log files created by xen to be under /var/log/xen instead of under /var/log directly. This has the advantage of cleaning things up a little[1] and also can make it easier to restrict the permissions needed by xend. Signed-off-by: Jeremy Katz <katzj@redhat.com> Jeremy [1] This is especially true as you run HVM guests and the number of /var/log/qemu-dm.* files grows... :) _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
> The attached patch moves all of the various log files created by xen to > be under /var/log/xen instead of under /var/log directly. This has the > advantage of cleaning things up a little[1] and also can make it easier > to restrict the permissions needed by xend.Alternatively, should we just be sending all of these messages to syslog and then syslog.conf figure out what to do with them? I've often thought it would be handy to have all the messages in one place, and with time stamps. Ian _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
On Fri, 2006-08-18 at 21:50 +0100, Ian Pratt wrote:> > The attached patch moves all of the various log files created by xen to > > be under /var/log/xen instead of under /var/log directly. This has the > > advantage of cleaning things up a little[1] and also can make it easier > > to restrict the permissions needed by xend. > > Alternatively, should we just be sending all of these messages to syslog and then > syslog.conf figure out what to do with them? I''ve often thought it would be handy > to have all the messages in one place, and with time stamps.I think right now, things are a bit verbose to just be doing everything via syslog -- it''d be kind of like sending all of your apache logs to syslog. Things would just get overrun to the point of being less useful. Having the logs split out is actually kind of nice from my point of view -- I just want them a little bit more so :-) Jeremy _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
On Fri, 2006-08-18 at 14:33 -0400, Jeremy Katz wrote:> The attached patch moves all of the various log files created by xen to > be under /var/log/xen instead of under /var/log directly. This has the > advantage of cleaning things up a little[1] and also can make it easier > to restrict the permissions needed by xend.Any other thoughts on this? Jeremy _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Jeremy Katz wrote: [Fri Aug 18 2006, 05:07:11PM EDT]> On Fri, 2006-08-18 at 21:50 +0100, Ian Pratt wrote: > > > The attached patch moves all of the various log files created by xen to > > > be under /var/log/xen instead of under /var/log directly. This has the > > > advantage of cleaning things up a little[1] and also can make it easier > > > to restrict the permissions needed by xend. > > > > Alternatively, should we just be sending all of these messages to syslog and then > > syslog.conf figure out what to do with them? I''ve often thought it would be handy > > to have all the messages in one place, and with time stamps. > > I think right now, things are a bit verbose to just be doing everything > via syslog -- it''d be kind of like sending all of your apache logs to > syslog. Things would just get overrun to the point of being less > useful. > > Having the logs split out is actually kind of nice from my point of view > -- I just want them a little bit more so :-)I like the idea of consolidating the logs to /var/log/xen, however I don''t quite understand how the logs could be too verbose for syslog. With syslog configuration, you can branch them out to separate files anyway, to keep the status quo. The advantage of using syslog is that you can also do interesting things like filtering and sending over the network to a central logging machine. Aron _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
> I like the idea of consolidating the logs to /var/log/xen, however > I don't quite understand how the logs could be too verbose for syslog. > With syslog configuration, you can branch them out to separate files > anyway, to keep the status quo. The advantage of using syslog is that > you can also do interesting things like filtering and sending over the > network to a central logging machine.I'd certainly still like to see an option to enable logging everything via syslog (in addition to Jeremy's patch which is now in-tree) Ian _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel