mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-14 15:00:16 +02:00
Merge pull request #292 from Adarnof/logfolder
Move default logfile location to log folder
This commit is contained in:
commit
a66df6b574
@ -403,7 +403,7 @@ LOGGING = {
|
|||||||
'log_file': {
|
'log_file': {
|
||||||
'level': 'INFO', # edit this line to change logging level to file
|
'level': 'INFO', # edit this line to change logging level to file
|
||||||
'class': 'logging.handlers.RotatingFileHandler',
|
'class': 'logging.handlers.RotatingFileHandler',
|
||||||
'filename': os.path.join(BASE_DIR,'allianceauth.log'),
|
'filename': os.path.join(BASE_DIR,'log/allianceauth.log'),
|
||||||
'formatter': 'verbose',
|
'formatter': 'verbose',
|
||||||
'maxBytes': 1024*1024*5, # edit this line to change max log file size
|
'maxBytes': 1024*1024*5, # edit this line to change max log file size
|
||||||
'backupCount': 5, # edit this line to change number of log backups
|
'backupCount': 5, # edit this line to change number of log backups
|
||||||
|
2
log/.gitignore
vendored
Normal file
2
log/.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
*
|
||||||
|
!.gitignore
|
Loading…
x
Reference in New Issue
Block a user