diff options
Diffstat (limited to 'logger.c')
-rw-r--r-- | logger.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -148,9 +148,10 @@ extern int logger_main(int argc, char **argv) message[strlen(message)-1] = '\0'; } - openlog(name, option, (pri | LOG_FACMASK)); + /*openlog(name, option, (pri | LOG_FACMASK)); syslog(pri, "%s", message); - closelog(); + closelog();*/ + syslog_msg_with_name(name,(pri | LOG_FACMASK),pri,message); return EXIT_SUCCESS; } |