mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-12 05:50:16 +02:00
Added console logging output.
This commit is contained in:
parent
d44d73d445
commit
834cd8865e
@ -366,20 +366,26 @@ LOGGING = {
|
||||
'class': 'logging.FileHandler',
|
||||
'filename': 'debug.log',
|
||||
'formatter': 'verbose'
|
||||
},
|
||||
'console': {
|
||||
'level': 'DEBUG',
|
||||
'class': 'logging.StreamHandler',
|
||||
'formatter': 'verbose',
|
||||
}
|
||||
},
|
||||
'loggers': {
|
||||
'celerytask': {
|
||||
'handlers': ['debug_file'],
|
||||
'level': 'DEBUG',
|
||||
},
|
||||
'services.views': {
|
||||
'handlers': ['debug_file'],
|
||||
'handlers': ['debug_file', 'console'],
|
||||
'level': 'DEBUG',
|
||||
},
|
||||
'services.managers': {
|
||||
'handlers': ['debug_file'],
|
||||
'handlers': ['debug_file', 'console'],
|
||||
'level': 'DEBUG',
|
||||
}
|
||||
},
|
||||
'services.views': {
|
||||
'handlers': ['debug_file', 'console'],
|
||||
'level': 'DEBUG',
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -25,6 +25,7 @@ class DiscordAPIManager:
|
||||
self.email = email
|
||||
self.password = password
|
||||
self.server_id = server_id
|
||||
logger.debug("Initialized DiscordAPIManager with server id %s" % self.server_id)
|
||||
|
||||
def __del__(self):
|
||||
if hasattr(self, 'token'):
|
||||
|
Loading…
x
Reference in New Issue
Block a user