Skip to content

Commit

Permalink
pika exit when Invalue loglevel Configured in conf file
Browse files Browse the repository at this point in the history
  • Loading branch information
KernelMaker committed Jul 8, 2016
1 parent 649271a commit c964d79
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pika_conf.cc
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ int PikaConf::Load()
SetLogLevel(1);
} else {
SetLogLevel(0);
fprintf(stderr, "invalid loglevel value in conf file, defaultly set loglevel to INFO\n");
fprintf(stderr, "Invalid loglevel value in conf file, only INFO or ERROR\n");
exit(-1);
}
GetConfInt("timeout", &timeout_);
if (timeout_ <= 0) {
Expand Down

0 comments on commit c964d79

Please sign in to comment.