NetworkManager r4166 - in trunk: . src



Author: tambeti
Date: Fri Oct 10 12:05:04 2008
New Revision: 4166
URL: http://svn.gnome.org/viewvc/NetworkManager?rev=4166&view=rev

Log:
2008-10-10  Tambet Ingo  <tambet gmail com>

	* src/nm-logging.c (nm_logging_setup): Don't use LOG_CONS when running as
	a daemon to prevent NM logging spew on console on startup and shutdown (due
	to dependency loop between NM and syslog).

Modified:
   trunk/ChangeLog
   trunk/src/nm-logging.c

Modified: trunk/src/nm-logging.c
==============================================================================
--- trunk/src/nm-logging.c	(original)
+++ trunk/src/nm-logging.c	Fri Oct 10 12:05:04 2008
@@ -147,7 +147,7 @@
 nm_logging_setup (gboolean become_daemon)
 {
 	if (become_daemon)
-		openlog (G_LOG_DOMAIN, LOG_CONS, LOG_DAEMON);
+		openlog (G_LOG_DOMAIN, 0, LOG_DAEMON);
 	else
 		openlog (G_LOG_DOMAIN, LOG_CONS | LOG_PERROR, LOG_USER);
 



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