Old configuration format:
/*
By default logs are enabled and available in dataDir
*/
disableFileLogs: false,
log: {
file: 'bot.log',
maxSize: 1e6 // 1mb
}
New format:
/*
By default logs are enabled and stored in the DB for 30 days
*/
logs: {
enabled: true,
keepDays: 30
}
…em to the database.