Reverted some of the last commit. Megabytes make sense for log_file_size.

This commit is contained in:
Johannes Findeisen 2022-10-06 23:20:37 +02:00
commit 7806511884
2 changed files with 14 additions and 7 deletions

View file

@ -8,8 +8,11 @@ log_file = ~/code/linspector/linspector/log/linspector.log
; number of log files to be kept. i recommend to use the lowest sensible value for keeping performance high. so set
; the size of the log file higher to increase the log history.
log_file_count = 10
; log file size in bytes as int. the default is 10000000 bytes (10MiB) if not set here to a different value.
log_file_size = 1000000
; 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. the default is 1000000 (10MiB) in the code if not set here.
log_file_size_bytes = 100000
pid_file = /var/run/user/1000/linspector.pid
; plugins separated by ','. no whitespaces allowed! not case sensitive.
plugins = Lish,HTTPServer