We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58d947b commit 4618ec6Copy full SHA for 4618ec6
cluster.js
@@ -1,3 +1,4 @@
1
+/* eslint-disable no-console */
2
const pm2 = require('pm2');
3
4
const instances = process.env.WEB_CONCURRENCY || -1;
@@ -23,7 +24,7 @@ pm2.connect(() => {
23
24
console.log('[PM2] Log streaming started');
25
26
bus.on('log:out', (packet) => {
- console.log('[App:%s] %s', packet.process.name, packet.data);
27
+ console.log('[App:%s] %s', packet.process.name, packet.data);
28
});
29
30
bus.on('log:err', (packet) => {
@@ -32,4 +33,3 @@ pm2.connect(() => {
32
33
34
35
-
0 commit comments