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

[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
# 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®.