Added log_file_size_bytes to configuration. It can be used when log_file_size is not set.

This commit is contained in:
Johannes Findeisen 2022-10-04 23:23:36 +02:00
commit 60d4cd9dd8
2 changed files with 14 additions and 8 deletions

View file

@ -7,8 +7,11 @@ log_level= debug
log_file = ~/code/linspector/linspector/log/linspector.log
; number of log files to be kept.
log_file_count = 50
; log file size in megabytes as int or float.
log_file_size = 1.00
; log file size in megabytes as int.
log_file_size = 1
; log file size in bytes as int. you can set to bytes if you want to set a value lower then 1 megabyte. but it will
; only be used when log_file_size is not set.
log_file_size_bytes = 10485760
pid_file = /var/run/user/1000/linspector.pid
; plugins separated by ','. no whitespaces allowed. not case sensitive.
plugins = Lish,HTTPServer