Closed pvyParts closed 3 years ago
my config is as follows:
LOGGING['handlers']['bot_log_file']= { 'level': 'INFO', 'class': 'logging.handlers.RotatingFileHandler', 'filename': os.path.join(BASE_DIR, 'log/discord_bot.log'), 'formatter': 'verbose', 'maxBytes': 1024 * 1024 * 5, 'backupCount': 5, } LOGGING['loggers']['aadiscordbot'] = {'handlers': ['bot_log_file'],'level': 'DEBUG'}
Documented in https://github.com/pvyParts/allianceauth-discordbot/pull/38
my config is as follows: