summaryrefslogtreecommitdiff
path: root/src/mod_accesslog.c
diff options
context:
space:
mode:
authorJan Kneschke <jan@kneschke.de>2005-07-26 08:26:28 +0000
committerJan Kneschke <jan@kneschke.de>2005-07-26 08:26:28 +0000
commitadcc83d26fbd6b29520bbea0eafb893b2eb83a84 (patch)
tree722e582477ecbc3d3dd8282fcae3fff569ee2cf1 /src/mod_accesslog.c
parent61a1e9b2eccd673f7aa3909b5f623a0bd789c339 (diff)
downloadlighttpd-git-adcc83d26fbd6b29520bbea0eafb893b2eb83a84.tar.gz
cleaned up the errorlog writing, default is now stderr, syslog is requested explicitly
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.3.x@475 152afb58-edef-0310-8abb-c4023f1b3aa9
Diffstat (limited to 'src/mod_accesslog.c')
-rw-r--r--src/mod_accesslog.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/mod_accesslog.c b/src/mod_accesslog.c
index b23b04bf..e789926d 100644
--- a/src/mod_accesslog.c
+++ b/src/mod_accesslog.c
@@ -445,13 +445,6 @@ SETDEFAULTS_FUNC(log_access_open) {
}
if (s->use_syslog) {
- if (srv->log_using_syslog == 0) {
- log_error_write(srv, __FILE__, __LINE__, "s",
- "accesslog can only be written to syslog if errorlog is also sent to syslog. ABORTING.");
-
- return HANDLER_ERROR;
- }
-
/* ignore the next checks */
continue;
}