diff --git a/config/lib/debug.js b/config/lib/debug.js index 4c7639f1..1a1b6874 100644 --- a/config/lib/debug.js +++ b/config/lib/debug.js @@ -14,7 +14,9 @@ var appConfig = config.meanTorrentConfig.app; */ module.exports.info = function (obj, section) { if (appConfig.showDebugLog) { - console.log(section ? ' - ' + section : ''); + if (section) { + console.log(section); + } console.log(obj); } };