Skip to content

Commit

Permalink
feat: add pm2 log datetime format (#193)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuozhiyongde authored Dec 20, 2023
1 parent e9845f0 commit f1cc7d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions ecosystem.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ module.exports = {
env: {
NODE_ENV: 'production',
},
log_date_format: 'YYYY-MM-DD HH:mm:ss',
},
],
}
1 change: 1 addition & 0 deletions ecosystem.standalone.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ module.exports = {
NODE_ENV: 'production',
...require('dotenv').config().parsed,
},
log_date_format: 'YYYY-MM-DD HH:mm:ss',
},
],
}

0 comments on commit f1cc7d6

Please sign in to comment.