Last active
November 12, 2019 14:33
-
-
Save brianbianco/3e6d2aee8c044c0c961d35b422469857 to your computer and use it in GitHub Desktop.
All standard logging lines sent to stdout
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/applutil.cpp b/src/applutil.cpp | |
index 56cac57..bccf39e 100644 | |
--- a/src/applutil.cpp | |
+++ b/src/applutil.cpp | |
@@ -568,6 +568,8 @@ std::string proxy_log::filename(int index) | |
void proxy_log::add( const std::string &_value ) | |
{ | |
if (_value.empty()) return; // Don't bother with empty log lines. | |
+ COUT(_value) | |
+/* | |
DOUT("Log: " << this->m_name << ": " << _value ); | |
std::lock_guard<std::mutex> l(this->m_mutex); | |
if (this->m_write_index == 0) | |
@@ -596,9 +598,9 @@ void proxy_log::add( const std::string &_value ) | |
#ifdef _SYSTEMD_ | |
do_log(_value); | |
#endif | |
+*/ | |
} | |
- | |
void proxy_log::clear() | |
{ | |
std::lock_guard<std::mutex> l(this->m_mutex); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment