Fix the error 'output device not set for a chonicles dynamic sink'

This commit is contained in:
Zahary Karadjov 2019-10-25 20:03:55 +03:00
parent f7eb924518
commit f3252a8391
No known key found for this signature in database
GPG Key ID: C8936F8A3073D609
2 changed files with 8 additions and 7 deletions

View File

@ -1,2 +1,9 @@
-d:"chronicles_runtime_filtering=on"
@if testnet_docker_node:
-d:"chronicles_sinks=json"
-d:"withoutPrompt"
@else:
-d:"chronicles_default_output_device=dynamic"
@end

View File

@ -11,18 +11,12 @@
--passL:"-Wl,--stack,8388608"
# https://github.com/nim-lang/Nim/issues/4057
--tlsEmulation:off
# The dynamic Chronicles output currently prevents us from using colors on Windows
# because these require direct manipulations of the stdout File object.
-d:"chronicles_colors=off"
@end
@if testnet_docker_node:
-d:"chronicles_sinks=json"
-d:"withoutPrompt"
@else:
-d:"chronicles_default_output_device=dynamic"
@end
--threads:on
--opt:speed
--excessiveStackTrace:on