You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Lars Eilebrecht <La...@unix-ag.org> on 1997/10/18 13:11:09 UTC
Ultrix: HAVE_SYSLOG?
Hi,
I just compiled 1.3b2 on Ultix 4.4, but had to tweak conf.h, because I need
to remove #define HAVE_SYSLOG.
Well, actually Ultrix has syslog.h, but it's a bit strange, eg. there is no
LOG_PRIMASK and the values are different compared to other systems:
-snip-
/usr/include/syslog.h:#define LOG_ALERT 1 /* alert -- send to all users */
/usr/include/syslog.h:#define LOG_SALERT 2 /* subalert -- send to special users */
/usr/include/syslog.h:#define LOG_EMERG 3 /* emergency conditions */
/usr/include/syslog.h:#define LOG_ERROR 4 /* error */
/usr/include/syslog.h:#define LOG_ERR 4 /* synonym of LOG_ERROR */
/usr/include/syslog.h:#define LOG_CRIT 5 /* critical information */
/usr/include/syslog.h:#define LOG_WARNING 6 /* warning */
/usr/include/syslog.h:#define LOG_NOTICE 7 /* important information */
/usr/include/syslog.h:#define LOG_INFO 8 /* informational message */
/usr/include/syslog.h:#define LOG_DEBUG 9 /* debug level info */
/usr/include/syslog.h:#define LOG_NULL 0 /* don't touch log */
/usr/include/syslog.h:#define LOG_SOUT 1 /* log standard & diag output */
/usr/include/syslog.h:#define LOG_DIAG 2 /* log diagnostic output */
/usr/include/syslog.h:#define LOG_INDEP 3 /* log independently */
/usr/include/syslog.h:#define LOG_CLOSE 4 /* close the log */
/usr/include/syslog.h:#define LOG_PID 0001 /* log the pid with each message */
/usr/include/syslog.h:#define LOG_TIME 0002 /* log the time with each message */
/usr/include/syslog.h:#define LOG_COOLIT 0004 /* suppress priority stuff */
/usr/include/syslog.h:#define LOG_DGRAM 0010 /* running over a datagram socket */
-snap-
I think we should remove "#define HAVE_SYSLOG" for ULTRIX in conf.h?
ciao...
--
Lars Eilebrecht
sfx@unix-ag.org
Re: Ultrix: HAVE_SYSLOG?
Posted by Dean Gaudet <dg...@arctic.org>.
I'm not sure the ordering differences are important. But we could
conditionally define LOG_PRIMASK appropriately.
Dean
On Sat, 18 Oct 1997, Lars Eilebrecht wrote:
> Hi,
>
> I just compiled 1.3b2 on Ultix 4.4, but had to tweak conf.h, because I need
> to remove #define HAVE_SYSLOG.
> Well, actually Ultrix has syslog.h, but it's a bit strange, eg. there is no
> LOG_PRIMASK and the values are different compared to other systems:
>
> -snip-
> /usr/include/syslog.h:#define LOG_ALERT 1 /* alert -- send to all users */
> /usr/include/syslog.h:#define LOG_SALERT 2 /* subalert -- send to special users */
> /usr/include/syslog.h:#define LOG_EMERG 3 /* emergency conditions */
> /usr/include/syslog.h:#define LOG_ERROR 4 /* error */
> /usr/include/syslog.h:#define LOG_ERR 4 /* synonym of LOG_ERROR */
> /usr/include/syslog.h:#define LOG_CRIT 5 /* critical information */
> /usr/include/syslog.h:#define LOG_WARNING 6 /* warning */
> /usr/include/syslog.h:#define LOG_NOTICE 7 /* important information */
> /usr/include/syslog.h:#define LOG_INFO 8 /* informational message */
> /usr/include/syslog.h:#define LOG_DEBUG 9 /* debug level info */
> /usr/include/syslog.h:#define LOG_NULL 0 /* don't touch log */
> /usr/include/syslog.h:#define LOG_SOUT 1 /* log standard & diag output */
> /usr/include/syslog.h:#define LOG_DIAG 2 /* log diagnostic output */
> /usr/include/syslog.h:#define LOG_INDEP 3 /* log independently */
> /usr/include/syslog.h:#define LOG_CLOSE 4 /* close the log */
> /usr/include/syslog.h:#define LOG_PID 0001 /* log the pid with each message */
> /usr/include/syslog.h:#define LOG_TIME 0002 /* log the time with each message */
> /usr/include/syslog.h:#define LOG_COOLIT 0004 /* suppress priority stuff */
> /usr/include/syslog.h:#define LOG_DGRAM 0010 /* running over a datagram socket */
>
> -snap-
>
> I think we should remove "#define HAVE_SYSLOG" for ULTRIX in conf.h?
>
>
> ciao...
> --
> Lars Eilebrecht
> sfx@unix-ag.org
>
>