don't close stdout when using a log file
also bump vendor/nim-chronicles and vendor/nim-eth
This commit is contained in:
parent
86d741f3f3
commit
b45e9d5493
|
@ -41,8 +41,10 @@ proc start(): NimbusObject =
|
|||
var nimbus = NimbusObject()
|
||||
var conf = getConfiguration()
|
||||
|
||||
## logging
|
||||
setLogLevel(conf.debug.logLevel)
|
||||
if len(conf.debug.logFile) != 0:
|
||||
defaultChroniclesStream.output.outFile = nil # to avoid closing stdout
|
||||
discard defaultChroniclesStream.output.open(conf.debug.logFile, fmAppend)
|
||||
|
||||
## Creating RPC Server
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 2424b4747b0257287e5f59fa22e37c017975bbbd
|
||||
Subproject commit a064c403538d274c9e9aba0995f3e05587b4f3ac
|
|
@ -1 +1 @@
|
|||
Subproject commit bb79902399500abc4ef22c151d105e14b000ef9e
|
||||
Subproject commit 14513b3bd83dc1de3f6c5da17331d7eac95b9332
|
Loading…
Reference in New Issue