Reenable logging for non-release builds
This commit is contained in:
parent
61d27efd69
commit
09b85464bd
|
@ -12,6 +12,7 @@ import routes/[
|
||||||
const configPath {.strdefine.} = "./nitter.conf"
|
const configPath {.strdefine.} = "./nitter.conf"
|
||||||
let (cfg, fullCfg) = getConfig(configPath)
|
let (cfg, fullCfg) = getConfig(configPath)
|
||||||
|
|
||||||
|
when defined(release):
|
||||||
# Silence Jester's query warning
|
# Silence Jester's query warning
|
||||||
addHandler(newConsoleLogger())
|
addHandler(newConsoleLogger())
|
||||||
setLogFilter(lvlError)
|
setLogFilter(lvlError)
|
||||||
|
|
Loading…
Reference in New Issue