From: Ian Campbell Subject: Re: oxenstored: Add support for logging via syslog Date: Thu, 11 Apr 2013 12:16:57 +0100 Message-ID: <1365679017.8036.73.camel@zakaz.uk.xensource.com> References: <1363775565-4367-1-git-send-email-dave.scott@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1363775565-4367-1-git-send-email-dave.scott@eu.citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: David Scott Cc: "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org On Wed, 2013-03-20 at 10:32 +0000, David Scott wrote: > The ability to log via syslog was removed back in Oct 2011 but > it's actually quite useful. On a system with lots of disk I/O, if > xenstore logs directly to the filesystem it can block so much > that guests start to suffer. > > One solution would be to add some threading to xenstored to isolate > the logging from the ring servicing; however this will be quite a > big patch and we could end up re-implementing a syslog-like logging > service. Instead we re-add the ability to log via syslog and allow > this to be switched on via the xenstored config file. The default > logging behaviour is unchanged. > > FYI this is the only significant thing in the XCP patch queue -- > we've found this helps a lot in stress tests. > > Patches follow. For extra convenience you should be able to pull from: > > git pull git://github.com/djs55/xen xenstore-syslog I'm not really in a position to review this but as you say it is just reintroducing previously removed code and its been in XCP I presume in the interval, so I have pulled this.