WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH] Move logs under /var/log/xen

To: Jeremy Katz <katzj@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] Move logs under /var/log/xen
From: Aron Griffis <aron@xxxxxx>
Date: Mon, 28 Aug 2006 11:49:26 -0400
Cc: Ian Pratt <m+Ian.Pratt@xxxxxxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 28 Aug 2006 08:50:27 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1155935231.11663.56.camel@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Mail-followup-to: Jeremy Katz <katzj@xxxxxxxxxx>, Ian Pratt <m+Ian.Pratt@xxxxxxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
References: <A95E2296287EAD4EB592B5DEEFCE0E9D572471@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <1155935231.11663.56.camel@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.13 (2006-08-11)
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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel