From f1cc7d6a00a5698d4912757215a447027b49e2f1 Mon Sep 17 00:00:00 2001 From: Arthals <36695271+zhuozhiyongde@users.noreply.github.com> Date: Wed, 20 Dec 2023 12:09:43 +0800 Subject: [PATCH] feat: add pm2 log datetime format (#193) --- ecosystem.config.js | 1 + ecosystem.standalone.config.js | 1 + 2 files changed, 2 insertions(+) diff --git a/ecosystem.config.js b/ecosystem.config.js index df73f6af66..c445a50d35 100644 --- a/ecosystem.config.js +++ b/ecosystem.config.js @@ -10,6 +10,7 @@ module.exports = { env: { NODE_ENV: 'production', }, + log_date_format: 'YYYY-MM-DD HH:mm:ss', }, ], } diff --git a/ecosystem.standalone.config.js b/ecosystem.standalone.config.js index 757bc1b6e6..ce3a9b2fed 100644 --- a/ecosystem.standalone.config.js +++ b/ecosystem.standalone.config.js @@ -11,6 +11,7 @@ module.exports = { NODE_ENV: 'production', ...require('dotenv').config().parsed, }, + log_date_format: 'YYYY-MM-DD HH:mm:ss', }, ], }