On Sun, Jul 31, 2005 at 08:37:02PM +0100, Brian Candler wrote:
> Hmm, actually it's a bit strange:
> 
>                 ap_log_error(APLOG_MARK, APLOG_WARNING | APLOG_INFO, 
> server_conf,
>                          "make_sock: for %s, setsockopt: (SO_ACCEPTFILTER)", 
> addr);
> 
> It seems to be undecided as to whether it's a Warning or an Info message!

$ egrep 'LOG_(WARNING|INFO)' /usr/include/syslog.h  
#define LOG_WARNING     4       /* warning conditions */
#define LOG_INFO        6       /* informational */

So OR'ing them together forces it to LOG_INFO. I think WARNING is probably a
more appropriate level for this message.

Regards,

Brian.

Reply via email to