summaryrefslogtreecommitdiff
path: root/src/daemon
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2009-02-08 13:19:58 +0100
committerAndreas Baumann <abaumann@yahoo.com>2009-02-08 13:19:58 +0100
commit56eef17b90b8b119e5822005d5cbfb14ec3adcb4 (patch)
treef226b2da73842f80e09231b6355e637fd5d07804 /src/daemon
parentbbe7f2f0b7a742122e67e6acb20536a8f52885cc (diff)
downloadwolfbones-56eef17b90b8b119e5822005d5cbfb14ec3adcb4.tar.gz
wolfbones-56eef17b90b8b119e5822005d5cbfb14ec3adcb4.tar.bz2
started to document the logger
Diffstat (limited to 'src/daemon')
-rw-r--r--src/daemon/daemon.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/daemon/daemon.c b/src/daemon/daemon.c
index 561d160..d803c8b 100644
--- a/src/daemon/daemon.c
+++ b/src/daemon/daemon.c
@@ -363,17 +363,17 @@ wolf_error_t wolf_daemon_start( wolf_daemon_p d ) {
/* we loose logfile and syslog file descriptors anyway, so close
* them here */
- closelogtosyslog( );
- closelogtofile( );
- closelogtostderr( );
+ wolf_log_closelogtosyslog( );
+ wolf_log_closelogtofile( );
+ wolf_log_closelogtostderr( );
/* close all filedescriptors */
if( daemon_close_all_fds( ) != WOLF_OK )
return WOLF_ERR_INTERNAL;
/* reopen the logs to the logfile and syslog (not stderr) */
- reopenlogtosyslog( );
- reopenlogtofile( );
+ wolf_log_reopenlogtosyslog( );
+ wolf_log_reopenlogtofile( );
/* create and lock the pidfile now, write pid of daemon into it */
if( pidfile_create( &d->pidfile ) != WOLF_OK ) {