getting env for "APP_INSTALLER_LOG" will always return null
Change-Id: I76b26ef3ae8c43afdbe3a62332fb9217898d3975
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
dlog_print(LogLevelToPriority(level_), tag_.c_str(), "%s",
Escape(str.str()).c_str());
- static const char* app_installer_log = getenv("APP_INSTALLERS_LOG");
- if (level_ == LogLevel::LOG_ERROR || app_installer_log != nullptr) {
- std::cerr << str.str()
- << std::endl;
- }
+ if (level_ == LogLevel::LOG_ERROR)
+ std::cerr << str.str() << std::endl;
}
private:
// Since LogCatcher passes input to dlog_print(), the input which contains