]> git.pld-linux.org Git - packages/inn.git/blob - inn-nnrpd_no_trace.patch
- release 4 (by relup.sh)
[packages/inn.git] / inn-nnrpd_no_trace.patch
1 --- ./nnrpd/nnrpd.c.org 2008-06-29 19:56:57.000000000 +0200
2 +++ ./nnrpd/nnrpd.c     2008-08-18 17:09:30.512424093 +0200
3 @@ -858,6 +858,12 @@ main(int argc, char *argv[])
4      }
5      message_program_name = xstrdup(name);
6      openlog(message_program_name, L_OPENLOG_FLAGS | LOG_PID, LOG_INN_PROG);
7 +    /* Don't log debug unless TRACE is defined.
8 +     * Too much noise in /dev/log causes big load on syslog daemon.
9 +     */
10 +#ifndef TRACE
11 +    setlogmask(LOG_UPTO(L_NOTICE));
12 +#endif
13      message_handlers_die(1, message_log_syslog_crit);
14      message_handlers_warn(1, message_log_syslog_warning);
15      message_handlers_notice(1, message_log_syslog_notice);
This page took 0.213857 seconds and 3 git commands to generate.