-/* $OpenBSD: config.h,v 1.11 2015/01/20 03:55:18 guenther Exp $ */
+/* $OpenBSD: config.h,v 1.12 2015/01/20 07:03:21 guenther Exp $ */
/*
* Copyright (c) 1993 Michael A. Cooper
*/
#define RTIMEOUT 900
-/*
- * Define LOG_OPTS to be the syslog/openlog() logging options you
- * wish to use. Define to be 0 if you don't want any options.
- * Define LOG_FACILITY to be the syslog/openlog() facility to log
- * to. Both LOG_OPTS and LOG_FACILITY values are defined in <syslog.h>
- * If you don't have syslog, then undefine both values.
- */
-#define LOG_OPTS LOG_PID
-#if defined(LOG_DAEMON)
-# define LOG_FACILITY LOG_DAEMON
-#endif
-
/*
* Syslog levels. Define these to match the levels you want to log
* via syslog(). These are defined in <syslog.h>. If you don't want
-/* $OpenBSD: message.c,v 1.25 2015/01/20 06:08:08 guenther Exp $ */
+/* $OpenBSD: message.c,v 1.26 2015/01/20 07:03:21 guenther Exp $ */
/*
* Copyright (c) 1983 Regents of the University of California.
break;
case MF_SYSLOG:
-#if defined(LOG_OPTS)
-#if defined(LOG_FACILITY)
- openlog(progname, LOG_OPTS, LOG_FACILITY);
-#else
- openlog(progname, LOG_OPTS);
-#endif /* LOG_FACILITY */
-#endif /* LOG_OPTS */
+ openlog(progname, LOG_PID, LOG_DAEMON);
break;
}