Watch
1
0
Fork
You've already forked nitter
0
mirror of https://github.com/zedeus/nitter synced 2026-11-22 12:57:19 +00:00

Fix removal of logging on release

This commit is contained in:
Zed 2020-11-07 23:16:33 +01:00
commit 375cb1a243

View file

@ -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)