[pve-devel] r5455 - in pve-common/trunk/data: . PVE

svn-commits at proxmox.com svn-commits at proxmox.com
Fri Jan 28 06:34:35 CET 2011


Author: dietmar
Date: 2011-01-28 06:34:35 +0100 (Fri, 28 Jan 2011)
New Revision: 5455

Modified:
   pve-common/trunk/data/ChangeLog
   pve-common/trunk/data/PVE/SafeSyslog.pm
Log:
* PVE/SafeSyslog.pm (initlog): enable default for facility.


Modified: pve-common/trunk/data/ChangeLog
===================================================================
--- pve-common/trunk/data/ChangeLog	2011-01-28 05:28:42 UTC (rev 5454)
+++ pve-common/trunk/data/ChangeLog	2011-01-28 05:34:35 UTC (rev 5455)
@@ -1,3 +1,7 @@
+2011-01-28  Proxmox Support Team  <support at proxmox.com>
+
+	* PVE/SafeSyslog.pm (initlog): enable default for facility.
+
 2011-01-25  Proxmox Support Team  <support at proxmox.com>
 
 	* PVE/JSONSchema.pm (get_options): make boolean arguments

Modified: pve-common/trunk/data/PVE/SafeSyslog.pm
===================================================================
--- pve-common/trunk/data/PVE/SafeSyslog.pm	2011-01-28 05:28:42 UTC (rev 5454)
+++ pve-common/trunk/data/PVE/SafeSyslog.pm	2011-01-28 05:34:35 UTC (rev 5455)
@@ -36,6 +36,8 @@
 	$log_tag = $tag;
     }
 
+    $facility = "daemon" if !$facility;
+
     # never log to console - thats too slow
     Sys::Syslog::setlogsock ('unix');
 



More information about the pve-devel mailing list