switched to log from logging
This commit is contained in:
parent
9065937d2c
commit
24680e403d
6 changed files with 44 additions and 34 deletions
|
|
@ -23,10 +23,10 @@ const databaseConfig = config.database;
|
|||
const queueConfig = config.queue;
|
||||
|
||||
// Initialize logger with config
|
||||
const loggingConfig = config.logging;
|
||||
if (loggingConfig) {
|
||||
const logConfig = config.log;
|
||||
if (logConfig) {
|
||||
setLoggerConfig({
|
||||
logLevel: loggingConfig.level,
|
||||
logLevel: logConfig.level,
|
||||
logConsole: true,
|
||||
logFile: false,
|
||||
environment: config.environment,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue