From bb56f92c4375912b6fd862debb45f9ed19d9fcfb Mon Sep 17 00:00:00 2001 From: Dragory <2606411+Dragory@users.noreply.github.com> Date: Sat, 4 May 2019 10:52:38 +0300 Subject: [PATCH] Remove timestamp from log fn in favor of pm2's timestamps --- src/index.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/index.ts b/src/index.ts index 75bd5706..d9fa7570 100644 --- a/src/index.ts +++ b/src/index.ts @@ -184,12 +184,6 @@ connect().then(async conn => { return yaml.safeLoad(yamlString); }, - logFn: (level, msg) => { - if (level === "debug") return; - const ts = moment().format("YYYY-MM-DD HH:mm:ss"); - console.log(`[${ts}] [${level.toUpperCase()}] ${msg}`); - }, - performanceDebug: { enabled: true, size: 30,