summaryrefslogtreecommitdiffstats
path: root/isisd
diff options
context:
space:
mode:
Diffstat (limited to 'isisd')
-rw-r--r--isisd/isis_main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/isisd/isis_main.c b/isisd/isis_main.c
index 343c683f4..f088bc1de 100644
--- a/isisd/isis_main.c
+++ b/isisd/isis_main.c
@@ -244,6 +244,8 @@ main (int argc, char **argv, char **envp)
zlog_default = openzlog (progname, ZLOG_ISIS, 0,
LOG_CONS | LOG_NDELAY | LOG_PID, LOG_DAEMON);
+ zprivs_init (&isisd_privs);
+ zlog_set_file (NULL, LOG_DEFAULT_FILENAME , zlog_default->default_lvl);
/* for reload */
_argc = argc;
@@ -332,7 +334,6 @@ main (int argc, char **argv, char **envp)
/*
* initializations
*/
- zprivs_init (&isisd_privs);
signal_init (master, array_size (isisd_signals), isisd_signals);
cmd_init (1);
vty_init (master);