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-api

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

To: Daniel Stodden <Daniel.Stodden@xxxxxxxxxx>, Xen API <xen-api@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-API] [PATCH] Switch all xapi syslog logging back to 'daemon'
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
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <ed73c0ba9b7e95d81c6b.1259194163@xxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
References: <ed73c0ba9b7e95d81c6b.1259194163@xxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>