Just wondering if there is any update on this bug?
From what I can see, its still breaking the menu and forcing the 2nd line.
How do I disable file logging?
Moved
Solved
Technical Support
-
Hello, is there any way I can disable file logging? I only need the console output logging. I can see this code for web install logging:
winston.configure({ level: 'verbose', format: winston.format.combine.apply(null, formats), transports: [ new winston.transports.Console({ handleExceptions: true, }), new winston.transports.File({ filename: 'logs/webinstall.log', handleExceptions: true, }), ], });
But not for global logging system. Thanks in advance.
-
N nullpointer marked this topic as a question on
-
@baris said in How do I disable file logging?:
The configuration of the logger is here https://github.com/NodeBB/NodeBB/blob/master/src/prestart.js#L12-L45
Thank you!
-
N nullpointer has marked this topic as solved on
-
@baris maybe we should allow setting the log path in config.json
Then someone could just set it to
/dev/null
-
J julian moved this topic from NodeBB Development on