mirror of
https://github.com/zedeus/nitter.git
synced 2026-01-24 20:32:49 -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)
|
||||
|
||||
when defined(release):
|
||||
import logging
|
||||
# Silence Jester's query warning
|
||||
addHandler(newConsoleLogger())
|
||||
setLogFilter(lvlError)
|
||||
|
||||
Reference in New Issue
Block a user