Added optional DEBUG logging (0.29.0)

This commit is contained in:
Johannes Findeisen 2023-09-06 08:14:57 +02:00
commit 95728a3376
2 changed files with 35 additions and 3 deletions

View file

@ -39,6 +39,16 @@ error_logfile_format = [{time:YYYY-MM-DD HH:mm:ss.SSSSSS ZZ}] [{elapsed}] [{leve
; max error logfile size (default: 1MB)
error_logfile_size = 5MB
; debug logfile (do not set to disable debug logging)
; this should never be enabled in a production environment but in case of errors it can be helpful to figure out what is wrong
debug_logfile = /home/hanez/code/linspector/linspector/log/debug.log
; number of debug logfiles to keep (default: 10)
debug_logfile_count = 3
; debug logfile format. this overrides the default configured in the code
debug_logfile_format = [{time:YYYY-MM-DD HH:mm:ss.SSSSSS ZZ}] [{elapsed}] [{level}] [linspector] [{name}:{function}:{line}]: {message}
; max debug logfile size (default: 1MB)
debug_logfile_size = 15MB
notifications =
plugins =