xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: David Scott <dave.scott@eu.citrix.com>
To: xen-devel@lists.xen.org
Subject: oxenstored: Add support for logging via syslog
Date: Wed, 20 Mar 2013 10:32:42 +0000	[thread overview]
Message-ID: <1363775565-4367-1-git-send-email-dave.scott@eu.citrix.com> (raw)

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

Cheers,
Dave

             reply	other threads:[~2013-03-20 10:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-20 10:32 David Scott [this message]
2013-03-20 10:32 ` [PATCH 1/3] oxenstored: Re-add ocaml syslog binding David Scott
2013-03-20 10:32 ` [PATCH 2/3] oxenstored: enable logging via syslog, if specified in the config file David Scott
2013-03-20 10:32 ` [PATCH 3/3] oxenstored: Allow oxenstored to use syslog at levels other than Debug David Scott
2013-04-11 11:16 ` oxenstored: Add support for logging via syslog Ian Campbell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1363775565-4367-1-git-send-email-dave.scott@eu.citrix.com \
    --to=dave.scott@eu.citrix.com \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).