Skip to content

Node.js based forum software built for the modern web

increase log file size to 10mb

Barış Soner Uşaklı035a37a936ec
diff --git a/loader.js b/loader.js
index 91bc605572..8b25906452 100644
--- a/loader.js
+++ b/loader.js
@@ -26,7 +26,7 @@ if (!fs.existsSync(logDir)) {
mkdirp.sync(path.dirname(outputLogFilePath));
}
-const output = logrotate({ file: outputLogFilePath, size: '1m', keep: 3, compress: true });
+const output = logrotate({ file: outputLogFilePath, size: '10m', keep: 3, compress: true });
const silent = nconf.get('silent') === 'false' ? false : nconf.get('silent') !== false;
let numProcs;
const workers = [];