Changed exit-log to debug

f_gracefulShutdown
Ruakij 3 years ago
parent c27761322c
commit 0709db0ddf

@ -77,7 +77,7 @@ if(errorMsg){
logger.debug("Attaching exit-handler.."); logger.debug("Attaching exit-handler..");
proc.on("exit", (code) => { proc.on("exit", (code) => {
loggerTcpdump.info(`tcpdump exited code: ${code}`); loggerTcpdump.debug(`tcpdump exited code: ${code}`);
if (code) { if (code) {
loggerTcpdump.fatal(`tcpdump exited with non-zero code: ${code}`); loggerTcpdump.fatal(`tcpdump exited with non-zero code: ${code}`);
exit(1); exit(1);

Loading…
Cancel
Save