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

[master 4/5] logging: log loader messages with LOG_LOCAL1 syslog facility.



Otherwise they will end up in /tmp/syslog.
---
 isys/log.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/isys/log.c b/isys/log.c
index da39c7b..d887b56 100644
--- a/isys/log.c
+++ b/isys/log.c
@@ -40,7 +40,7 @@ static FILE * program_log_file = NULL;
 static int minLevel = INFO;
 static const char * main_tag = "loader";
 static const char * program_tag = "program";
-static const int syslog_facility = LOG_LOCAL0;
+static const int syslog_facility = LOG_LOCAL1;
 
 /* maps our loglevel to syslog loglevel */
 static int mapLogLevel(int level)
-- 
1.6.6


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