summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2015-01-04 19:41:46 +0000
committerChris Wilson <chris+github@qwirx.com>2015-01-04 19:41:46 +0000
commitefda4b302a2494017563e2c9d6c4ce3b0098c61d (patch)
treecced2d5b8f4f3d82a52da9dc59cdf29c4ff60eb7 /lib
parent63ae649a92909c5a07d4f1ecc12e041dff6d571f (diff)
Don't redirect logging to stderr any more.
We have more fine-grained control over logging now, including ability to log to a file in bbackupquery and all daemons, and users can't redirect stderr on Windows. https://www.boxbackup.org/ticket/50
Diffstat (limited to 'lib')
-rw-r--r--lib/common/Logging.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/common/Logging.cpp b/lib/common/Logging.cpp
index ce8afcbb..b08b311c 100644
--- a/lib/common/Logging.cpp
+++ b/lib/common/Logging.cpp
@@ -284,12 +284,6 @@ bool Console::Log(Log::Level level, const std::string& rFile,
}
FILE* target = stdout;
-
- if (level <= Log::WARNING)
- {
- target = stderr;
- }
-
std::ostringstream buf;
if (sShowTime)