mirror of
https://github.com/wekan/wekan.git
synced 2025-04-20 12:07:11 -04:00
Try to fix build
This commit is contained in:
parent
b03c9b9879
commit
ee22364354
1 changed files with 1 additions and 6 deletions
|
@ -10,12 +10,7 @@ Meteor.startup(() => {
|
|||
if (loggerEnable) {
|
||||
|
||||
Winston.log('info', 'logger is enable');
|
||||
if (process.env.LOGGERS) {
|
||||
const loggers = process.env.LOGGERS.split(',') || 'console';
|
||||
Winston.log('info', `Loggers selected : ${ process.env.LOGGERS }, if empty default is console`);
|
||||
} else {
|
||||
const loggers = 'console';
|
||||
}
|
||||
const loggers = process.env.LOGGERS ? process.env.LOGGERS.split(',') : 'console';
|
||||
|
||||
if (loggers.includes('console')) {
|
||||
Winston.add(Winston.transports.Console, {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue