switched to log from logging

This commit is contained in:
Boki 2025-06-20 19:43:56 -04:00
parent 9065937d2c
commit 24680e403d
6 changed files with 44 additions and 34 deletions

View file

@ -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,