Made logging 100% key=value format. (0.21.5)

This commit is contained in:
Johannes Findeisen 2023-02-27 18:21:45 +01:00
commit d7ffeac943
2 changed files with 4 additions and 4 deletions

View file

@ -11,7 +11,7 @@ max_threads = 2048
pid_file = /var/run/user/1000/linspector.pid
; log format. this overrides the default configured in the code
;log_format = <green>[{time:YYYY-MM-DD HH:mm:ss.SSSSSS ZZ}]</green> <yellow>[{elapsed}]</yellow> <magenta>[{level}]</magenta> <blue>[linspector]</blue> <cyan>[{name}:{function}:{line}]</cyan><red>:</red> {message}
log_format = <green>timestamp={time:YYYY-MM-DD HH:mm:ss.SSSSSS ZZ}</green> <yellow>uptime={elapsed}</yellow> <magenta>level={level}</magenta> <blue>name=linspector</blue> <cyan>exec={name}:{function}</cyan> <red>line={line}</red> {message}
; log level for stderr logging (default: INFO)
log_level = INFO
; logfile to use