mirror of
https://github.com/whyour/qinglong.git
synced 2026-08-16 22:38:39 +08:00
fix: avoid duplicate container stdout logging
This commit is contained in:
@@ -13,10 +13,10 @@ function loadConfig(containerValue) {
|
||||
return require(configPath).apps[0];
|
||||
}
|
||||
|
||||
test('container logging goes to the container standard streams', () => {
|
||||
test('container logging relies on pm2-runtime stdout without persistent copies', () => {
|
||||
const app = loadConfig('true');
|
||||
assert.equal(app.out_file, '/proc/1/fd/1');
|
||||
assert.equal(app.error_file, '/proc/1/fd/2');
|
||||
assert.equal(app.out_file, '/dev/null');
|
||||
assert.equal(app.error_file, '/dev/null');
|
||||
assert.equal(app.time, false);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user