0
沒有顏色的,我們正在使用溫斯頓記錄在我們與下面的傳輸設置項目:Node.js的溫斯頓記錄用的nohup
file: {
filename: __base + '/log/server.log',
colorize : true,
timestamp : true,
json : false,
prettyPrint : true
}
如果應用程序開始的nohup,日誌文件不着色。它只有沒有nohup。
nohup supervisor -w . -i node_modules/ server.js &
winston或nohup有問題嗎?