We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 92c1538 commit 98b638aCopy full SHA for 98b638a
src/logging.js
@@ -108,7 +108,7 @@ async function initLoggerWithConfig(config) {
108
const logFile = config.get('logs:file');
109
if (config.get('logs:file:active')) {
110
rootLogger.debug('File active: ' + logFile.path);
111
- if (config.get('logs:file:isRotated')) {
+ if (logFile.rotation.isActive) {
112
const transport = new winston.transports.DailyRotateFile({
113
filename: logFile.path + '.%DATE%',
114
datePattern: 'YYYY-MM-DD',
0 commit comments