mirror of
https://github.com/cryptosharks131/lndg.git
synced 2026-08-13 12:33:04 +02:00
Use concurrent log file handler for app logs
This commit is contained in:
parent
4c2a9a62f4
commit
69ec726a5e
2 changed files with 3 additions and 2 deletions
|
|
@ -188,7 +188,7 @@ LOGGING = {
|
|||
'handlers': {
|
||||
'app-file': {
|
||||
'level': 'INFO',
|
||||
'class': 'logging.handlers.RotatingFileHandler',
|
||||
'class': 'concurrent_log_handler.ConcurrentRotatingFileHandler',
|
||||
'filename': os.path.join(BASE_DIR, 'data/lndg-controller.log'),
|
||||
'maxBytes': 25*(1024*1024),
|
||||
'backupCount': 5,
|
||||
|
|
|
|||
|
|
@ -7,4 +7,5 @@ pandas==3.0.3
|
|||
requests==2.34.2
|
||||
bech32==1.2.0
|
||||
cryptography==48.0.0
|
||||
paramiko==5.0.0
|
||||
paramiko==5.0.0
|
||||
concurrent-log-handler==0.9.29
|
||||
Loading…
Add table
Add a link
Reference in a new issue