Use concurrent log file handler for app logs

This commit is contained in:
cryptosharks131 2026-07-05 14:49:58 -04:00
parent 4c2a9a62f4
commit 69ec726a5e
No known key found for this signature in database
GPG key ID: 0A50748567ADEB28
2 changed files with 3 additions and 2 deletions

View file

@ -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,

View file

@ -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