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

RE: [Xen-API] [PATCH] Switch all xapi syslog logging back to 'daemon'


  • To: Daniel Stodden <Daniel.Stodden@xxxxxxxxxx>, Xen API <xen-api@xxxxxxxxxxxxxxxxxxx>
  • From: Dave Scott <Dave.Scott@xxxxxxxxxxxxx>
  • Date: Thu, 26 Nov 2009 10:17:55 +0000
  • Accept-language: en-US
  • Acceptlanguage: en-US
  • Cc:
  • Delivery-date: Thu, 26 Nov 2009 02:17:58 -0800
  • List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
  • Thread-index: AcpuLM/W2FxrHZ5xStW8XK+aww7XugAVMI7w
  • Thread-topic: [Xen-API] [PATCH] Switch all xapi syslog logging back to 'daemon'

Thanks!

Dave

> -----Original Message-----
> From: xen-api-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-api-
> bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Daniel Stodden
> Sent: 26 November 2009 00:09
> To: Xen API
> Subject: [Xen-API] [PATCH] Switch all xapi syslog logging back to
> 'daemon'
> 
> # HG changeset patch
> # User Daniel Stodden <daniel.stodden@xxxxxxxxxx> # Date 1259180048
> 28800 # Node ID ed73c0ba9b7e95d81c6ba49c297110750004fd57
> # Parent  3dad906dec60a34a95bd8dd3963e02218017efa7
> Switch all xapi syslog logging back to 'daemon'.
> Since messages to 'daemon' are written asynchronously again.
> 
> Signed-off-by: Daniel Stodden <daniel.stodden@xxxxxxxxxx>
> 
> diff -r 3dad906dec60 -r ed73c0ba9b7e log/log.ml
> --- a/log/log.ml      Fri Nov 20 14:22:16 2009 +0000
> +++ b/log/log.ml      Wed Nov 25 12:14:08 2009 -0800
> @@ -264,7 +264,7 @@
>               | Info  -> Syslog.Info
>               | Warn  -> Syslog.Warning
>               | Error -> Syslog.Err in
> -             Syslog.log Syslog.Local6 sys_prio ((construct_string false)
> ^ "\n")
> +             Syslog.log Syslog.Daemon sys_prio ((construct_string false)
> ^ "\n")
>       | Stream s -> Mutex.execute s.mutex
>           (fun () ->
>             match !(s.channel) with

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api


 


Rackspace

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