Mail Archives: cygwin-developers/1998/05/21/06:16:15
I don't know if cygwin implements all the logging levels but having a
'normal' syslog.h file at least makes things compile more happily.
*** syslog.h.orig Mon May 18 15:59:56 1998
--- syslog.h Thu May 21 08:46:04 1998
***************
*** 27,34 ****
#define LOG_UUCP (8<<3)
#define LOG_CRON (9<<3)
#define LOG_AUTHPRIV (10<<3)
! #define LOG_NFACILITIES 10
#define LOG_FACMASK 0x03f8
#define LOG_FAC(p) (((p) & LOG_FACMASK) >> 3)
--- 27,45 ----
#define LOG_UUCP (8<<3)
#define LOG_CRON (9<<3)
#define LOG_AUTHPRIV (10<<3)
+ #define LOG_FTP (11<<3)
! /* other codes thru 15 are reserved for system use */
! #define LOG_LOCAL0 (16<<3)
! #define LOG_LOCAL1 (17<<3)
! #define LOG_LOCAL2 (18<<3)
! #define LOG_LOCAL3 (19<<3)
! #define LOG_LOCAL4 (20<<3)
! #define LOG_LOCAL5 (21<<3)
! #define LOG_LOCAL6 (22<<3)
! #define LOG_LOCAL7 (23<<3)
!
! #define LOG_NFACILITIES 24
#define LOG_FACMASK 0x03f8
#define LOG_FAC(p) (((p) & LOG_FACMASK) >> 3)
- Raw text -