diff --git a/ReactNativeClient/lib/BaseApplication.js b/ReactNativeClient/lib/BaseApplication.js index b584afdadc..bf5b853c5b 100644 --- a/ReactNativeClient/lib/BaseApplication.js +++ b/ReactNativeClient/lib/BaseApplication.js @@ -627,7 +627,7 @@ class BaseApplication { initArgs = Object.assign(initArgs, extraFlags); this.logger_.addTarget('file', { path: `${profileDir}/log.txt` }); - if (Setting.value('env') === 'dev') this.logger_.addTarget('console', { level: Logger.LEVEL_DEBUG }); + // if (Setting.value('env') === 'dev' && Setting.value('appType') === 'desktop') this.logger_.addTarget('console', { level: Logger.LEVEL_DEBUG }); this.logger_.setLevel(initArgs.logLevel); reg.setLogger(this.logger_);