소스 검색

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 년 전
부모
커밋
0f522bb900
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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 close_log_file();
 void display_license(void);
+extern int enable_syslog;
 
 #endif