www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1998/05/21/06:16:15

From: matthew DOT patton AT ra DOT pae DOT osd DOT mil (Matthew Patton)
Subject: syslog.h patch for local level logging
21 May 1998 06:16:15 -0700 :
Message-ID: <3.0.5.32.19980521085053.00911be0.cygnus.cygwin32.developers@mail.ra.pae.osd.mil>
Mime-Version: 1.0
To: cygwin32-developers AT cygnus DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019