summaryrefslogtreecommitdiff
path: root/lib/grammar_sandbox_main.c
diff options
context:
space:
mode:
authorSantosh P K <50885001+Spantik@users.noreply.github.com>2020-04-16 20:23:44 +0530
committerGitHub <noreply@github.com>2020-04-16 20:23:44 +0530
commit09133ff4f71a50e6cd15618ffc969604422f9436 (patch)
treec26ce24f253b8eb20b75483370c0728a4bf854f5 /lib/grammar_sandbox_main.c
parentc845358213872f1ec7b4e2c431fc62de353ff7ab (diff)
parent6c19e557a59c9301db3981eff40867be347dfb74 (diff)
Merge pull request #5451 from opensourcerouting/rcu-log
logging subsystem rewrite
Diffstat (limited to 'lib/grammar_sandbox_main.c')
-rw-r--r--lib/grammar_sandbox_main.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/grammar_sandbox_main.c b/lib/grammar_sandbox_main.c
index aa54720dab..fbb97d2dd5 100644
--- a/lib/grammar_sandbox_main.c
+++ b/lib/grammar_sandbox_main.c
@@ -45,11 +45,7 @@ int main(int argc, char **argv)
master = thread_master_create(NULL);
- openzlog("grammar_sandbox", "NONE", 0, LOG_CONS | LOG_NDELAY | LOG_PID,
- LOG_DAEMON);
- zlog_set_level(ZLOG_DEST_SYSLOG, ZLOG_DISABLED);
- zlog_set_level(ZLOG_DEST_STDOUT, LOG_DEBUG);
- zlog_set_level(ZLOG_DEST_MONITOR, ZLOG_DISABLED);
+ zlog_aux_init("NONE: ", LOG_DEBUG);
/* Library inits. */
cmd_init(1);