mirror of
https://github.com/zedeus/nitter.git
synced 2026-02-01 00:02:48 -05:00
Fix removal of logging on release
This commit is contained in:
@@ -13,6 +13,7 @@ const configPath {.strdefine.} = "./nitter.conf"
|
|||||||
let (cfg, fullCfg) = getConfig(configPath)
|
let (cfg, fullCfg) = getConfig(configPath)
|
||||||
|
|
||||||
when defined(release):
|
when defined(release):
|
||||||
|
import logging
|
||||||
# Silence Jester's query warning
|
# Silence Jester's query warning
|
||||||
addHandler(newConsoleLogger())
|
addHandler(newConsoleLogger())
|
||||||
setLogFilter(lvlError)
|
setLogFilter(lvlError)
|
||||||
|
|||||||
Reference in New Issue
Block a user