summaryrefslogtreecommitdiffstats
path: root/sbin/hastctl/hastctl.c
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2011-01-27 19:24:07 +0000
committerpjd <pjd@FreeBSD.org>2011-01-27 19:24:07 +0000
commit79709f16df2b9d506195cddaa1ffbcd98da2c244 (patch)
tree156713b4c2427908651506d8f2dee350b6902142 /sbin/hastctl/hastctl.c
parentdd7f23334a4601e14152142f19d26d7279fc487b (diff)
downloadFreeBSD-src-79709f16df2b9d506195cddaa1ffbcd98da2c244.zip
FreeBSD-src-79709f16df2b9d506195cddaa1ffbcd98da2c244.tar.gz
Add functions to initialize/finalize pjdlog. This allows to open/close log
file at will. MFC after: 1 week
Diffstat (limited to 'sbin/hastctl/hastctl.c')
-rw-r--r--sbin/hastctl/hastctl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/hastctl/hastctl.c b/sbin/hastctl/hastctl.c
index d19b541..80b4e49 100644
--- a/sbin/hastctl/hastctl.c
+++ b/sbin/hastctl/hastctl.c
@@ -430,6 +430,7 @@ main(int argc, char *argv[])
break;
}
+ pjdlog_init(PJDLOG_MODE_STD);
pjdlog_debug_set(debug);
cfg = yy_config_parse(cfgpath, true);
OpenPOWER on IntegriCloud