feat(logging): add option to configure JSON logging (#5022)
* fix: Use logger for logs using console logging * feat: Add option to configure JSON logging * fix: use generic logFormat instead of json specific * fix: use logFormat for docker config * fix: use logFormat to build winston formatters Co-authored-by: Nicolas Giard <github@ngpixel.com>
This commit is contained in:
@@ -73,7 +73,7 @@ module.exports = {
|
||||
mode: 0o600
|
||||
})
|
||||
} catch (err) {
|
||||
console.error(err)
|
||||
WIKI.logger.error(err)
|
||||
throw err
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user