Changed exit-log to debug

This commit is contained in:
Ruakij 2021-11-29 13:44:37 +01:00
parent c27761322c
commit 0709db0ddf

View File

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