diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-07-24 09:39:12 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-07-24 10:34:47 +0100 |
commit | 58f3fc68e4aa2ef8613f4b53000b437b10818c76 (patch) | |
tree | 1a4819174fb632596c705e91f15beeeea3d59062 /src/common/scoped_message_writer.h | |
parent | Merge pull request #2159 (diff) | |
download | monero-58f3fc68e4aa2ef8613f4b53000b437b10818c76.tar.xz |
Make msgwriter logs go to file only
This was the case for monero-wallet-cli already, but not for
monerod, which was making it pretty spammy as it was duplicating
intended output. Since my original intent was to ensure logs
included command output for debugging, this achieves both.
Diffstat (limited to 'src/common/scoped_message_writer.h')
-rw-r--r-- | src/common/scoped_message_writer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/scoped_message_writer.h b/src/common/scoped_message_writer.h index 7ee4f1379..e31f8f0b2 100644 --- a/src/common/scoped_message_writer.h +++ b/src/common/scoped_message_writer.h @@ -91,7 +91,7 @@ public: { m_flush = false; - MCLOG(m_log_level, "msgwriter", m_oss.str()); + MCLOG_FILE(m_log_level, "msgwriter", m_oss.str()); if (epee::console_color_default == m_color) { |