summaryrefslogtreecommitdiffstats
path: root/proc.c
diff options
context:
space:
mode:
authornicm <nicm>2015-11-24 21:19:46 +0000
committernicm <nicm>2015-11-24 21:19:46 +0000
commit9cccb8c1159b0a4747b5152e2df08e42207b574d (patch)
tree61099cb87d37ada9605022281a705c1ddf73c121 /proc.c
parent4ec61bef461aba6d5849bce971a241850b8d7ef6 (diff)
Make the log stuff a bit tidier with some helper functions.
Diffstat (limited to 'proc.c')
-rw-r--r--proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proc.c b/proc.c
index 31fd136b..06340cd9 100644
--- a/proc.c
+++ b/proc.c
@@ -188,7 +188,7 @@ proc_start(const char *name, struct event_base *base, int forkflag,
fatalx("event_reinit failed");
}
- logfile(name);
+ log_open(name);
setproctitle("%s (%s)", name, socket_path);
log_debug("%s started (%ld): socket %s, protocol %d", name,