summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorStuart Henderson <sthen@cvs.openbsd.org>2008-01-25 09:59:58 +0000
committerStuart Henderson <sthen@cvs.openbsd.org>2008-01-25 09:59:58 +0000
commit2493a2ef56a7da179499b6268f9ce56d5ee1da63 (patch)
tree78201810c8672901c3a829160b57ef4b5ef8908b /usr.sbin
parent29723eca10c93ec64a3dfda08811588d25986fb6 (diff)
show an example for writing ErrorLog to syslog
ok henning
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/httpd/conf/httpd.conf5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/httpd/conf/httpd.conf b/usr.sbin/httpd/conf/httpd.conf
index 5d72900256a..86cba6fbda4 100644
--- a/usr.sbin/httpd/conf/httpd.conf
+++ b/usr.sbin/httpd/conf/httpd.conf
@@ -1,4 +1,4 @@
-# $OpenBSD: httpd.conf,v 1.21 2007/10/30 17:49:50 robert Exp $
+# $OpenBSD: httpd.conf,v 1.22 2008/01/25 09:59:57 sthen Exp $
#
# Based upon the NCSA server configuration files originally by Rob McCool.
#
@@ -537,7 +537,10 @@ HostnameLookups Off
# container, error messages relating to that virtual host will be
# logged here. If you *do* define an error logfile for a <VirtualHost>
# container, that host's errors will be logged there and not here.
+# Either a filename or the text "syslog:" followed by a facility
+# name may be specified here.
#
+#ErrorLog syslog:daemon
ErrorLog logs/error_log
#