gnome-keyring r1119 - in trunk: . daemon



Author: nnielsen
Date: Thu Mar 13 20:30:17 2008
New Revision: 1119
URL: http://svn.gnome.org/viewvc/gnome-keyring?rev=1119&view=rev

Log:
	* daemon/gkr-daemon.c: Log to syslog even when running in 
	the foreground. This helps starting from DBus. Patch by 
	Tony Espy. Fixes bug #522253


Modified:
   trunk/ChangeLog
   trunk/daemon/gkr-daemon.c

Modified: trunk/daemon/gkr-daemon.c
==============================================================================
--- trunk/daemon/gkr-daemon.c	(original)
+++ trunk/daemon/gkr-daemon.c	Thu Mar 13 20:30:17 2008
@@ -530,9 +530,8 @@
 
 	/* Daemon process continues here */
 
-        /* Send all warning or error messages to syslog, if a daemon */
-        if (!run_foreground)
-	        prepare_logging();
+        /* Send all warning or error messages to syslog */
+	prepare_logging();
 
 	loop = g_main_loop_new (NULL, FALSE);
 	ctx = g_main_loop_get_context (loop);



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