Bläddra i källkod

Update utils.h

The NRPE agent and the check_nrpe plugin by default, would log errors to syslog.
Added the ability to turn off logging to syslog and set the default to be off.
tgriep 7 år sedan
förälder
incheckning
0f522bb900
1 ändrade filer med 1 tillägg och 0 borttagningar
  1. 1 0
      include/utils.h

+ 1 - 0
include/utils.h

@@ -49,5 +49,6 @@ void open_log_file();
 void logit(int priority, const char *format, ...);
 void logit(int priority, const char *format, ...);
 void close_log_file();
 void close_log_file();
 void display_license(void);
 void display_license(void);
+extern int enable_syslog;
 
 
 #endif
 #endif