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