mirror of
https://github.com/zedeus/nitter.git
synced 2024-12-13 11:36:34 +00:00
Reenable logging for non-release builds
This commit is contained in:
parent
61d27efd69
commit
09b85464bd
1 changed files with 4 additions and 3 deletions
|
@ -12,9 +12,10 @@ import routes/[
|
|||
const configPath {.strdefine.} = "./nitter.conf"
|
||||
let (cfg, fullCfg) = getConfig(configPath)
|
||||
|
||||
# Silence Jester's query warning
|
||||
addHandler(newConsoleLogger())
|
||||
setLogFilter(lvlError)
|
||||
when defined(release):
|
||||
# Silence Jester's query warning
|
||||
addHandler(newConsoleLogger())
|
||||
setLogFilter(lvlError)
|
||||
|
||||
let http = if cfg.useHttps: "https" else: "http"
|
||||
stdout.write &"Starting Nitter at {http}://{cfg.hostname}\n"
|
||||
|
|
Loading…
Reference in a new issue