Skip to content

Commit

Permalink
No log entries to stderr when in production - VPN-2207 (#3504)
Browse files Browse the repository at this point in the history
  • Loading branch information
bakulf authored May 11, 2022
1 parent a137512 commit 17466b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/loghandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ void LogHandler::addLog(const Log& log, const MutexLocker& proofOfLock) {
prettyOutput(*m_output, log);
}

if ((log.m_logLevel != LogLevel::Debug) || m_showDebug) {
if (!Constants::inProduction()) {
QTextStream out(stderr);
prettyOutput(out, log);
}
Expand Down

0 comments on commit 17466b5

Please sign in to comment.