mirror of
https://github.com/lxsang/ant-http
synced 2024-11-19 17:58:22 +01:00
user log daemon
This commit is contained in:
parent
0f44d62849
commit
a0445adcc5
BIN
dist/antd-1.0.4b.tar.gz
vendored
BIN
dist/antd-1.0.4b.tar.gz
vendored
Binary file not shown.
2
httpd.c
2
httpd.c
@ -170,7 +170,7 @@ int main(int argc, char* argv[])
|
|||||||
config_t* conf = config();
|
config_t* conf = config();
|
||||||
// start syslog
|
// start syslog
|
||||||
setlogmask (LOG_UPTO (LOG_NOTICE));
|
setlogmask (LOG_UPTO (LOG_NOTICE));
|
||||||
openlog (SERVER_NAME, LOG_CONS | LOG_PID | LOG_NDELAY, LOG_USER);
|
openlog (SERVER_NAME, LOG_CONS | LOG_PID | LOG_NDELAY, LOG_DAEMON);
|
||||||
|
|
||||||
#ifdef USE_OPENSSL
|
#ifdef USE_OPENSSL
|
||||||
if( conf->enable_ssl == 1 )
|
if( conf->enable_ssl == 1 )
|
||||||
|
Loading…
Reference in New Issue
Block a user