From 3e6fa5b2f01c8c69c7a514dd20482122f21cc136 Mon Sep 17 00:00:00 2001 From: cgeek <cem.moreau@gmail.com> Date: Wed, 16 Dec 2015 13:25:52 +0100 Subject: [PATCH] Logs were always disabled --- bin/ucoind | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/bin/ucoind b/bin/ucoind index 2f4eeebbf..55c40710b 100755 --- a/bin/ucoind +++ b/bin/ucoind @@ -776,14 +776,16 @@ function connect(callback, forConf, useDefaultConf) { function service(callback, nologs) { - if (nologs) { - // Disable logs - require('log4js').configure({ - "appenders": [ - ] - }); - } return function () { + + if (nologs) { + // Disable logs + require('log4js').configure({ + "appenders": [ + ] + }); + } + var cbArgs = arguments; var dbName = program.mdb || "ucoin_default"; -- GitLab