mirror of
https://github.com/wekan/wekan.git
synced 2025-12-21 18:00:12 +01:00
Merge branch 'fix-logger' of https://github.com/pierreozoux/wekan into pierreozoux-fix-logger
Conflicts: server/logger.js
This commit is contained in:
commit
6575312e74
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ Meteor.startup(() => {
|
||||||
if (loggerEnable) {
|
if (loggerEnable) {
|
||||||
|
|
||||||
Winston.log('info', 'logger is enable');
|
Winston.log('info', 'logger is enable');
|
||||||
const loggers = process.env.LOGGERS ? process.env.LOGGERS.split(',') : 'console'
|
const loggers = process.env.LOGGERS ? process.env.LOGGERS.split(',') : '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