debug off by default

This commit is contained in:
array-in-a-matrix 2024-08-12 16:14:17 -04:00
parent a395d197a5
commit e2618c9a17
2 changed files with 2 additions and 2 deletions

View file

@ -59,7 +59,7 @@ proc getConfig(): Cfg =
# general # general
uploadDir: config.get("General", "uploadDir", "./uploads/"), uploadDir: config.get("General", "uploadDir", "./uploads/"),
enableLogs: config.get("General", "enableLogs", true), enableLogs: config.get("General", "enableLogs", true),
enableDebugLogs: config.get("General", "enableDebugLogs", true), enableDebugLogs: config.get("General", "enableDebugLogs", false),
enableErrorLogs: config.get("General", "enableErrorLogs", true), enableErrorLogs: config.get("General", "enableErrorLogs", true),
) )

View file

@ -32,7 +32,7 @@ const defaultConf* =
; Allows creating and logging to the log file. If this is on, it forces `enableErrorLogs` on as well. ; Allows creating and logging to the log file. If this is on, it forces `enableErrorLogs` on as well.
#enableLogs = "true" #enableLogs = "true"
; Includes debugging messages in logs. ; Includes debugging messages in logs.
#enableDebugLogs = "true" # enableDebugLogs = "false"
; Same as `enableLogs` but only for error or fatal messages. Forced on, if `enableLogs` is on. ; Same as `enableLogs` but only for error or fatal messages. Forced on, if `enableLogs` is on.
#enableErrorLogs = "true" #enableErrorLogs = "true"
""" """