8153723: Change the default logging output for errors and warnings from stderr to stdout

Reviewed-by: mlarsson, sla
This commit is contained in:
Robbin Ehn 2016-05-23 08:02:04 +02:00
parent a4eeccb502
commit 2096e37c4e
4 changed files with 46 additions and 8 deletions

View file

@ -54,7 +54,7 @@ class LogStdoutOutput : public LogFileStreamOutput {
private:
static LogStdoutOutput _instance;
LogStdoutOutput() : LogFileStreamOutput(stdout) {
set_config_string("all=off");
set_config_string("all=warning");
}
virtual bool initialize(const char* options, outputStream* errstream) {
return false;
@ -70,7 +70,7 @@ class LogStderrOutput : public LogFileStreamOutput {
private:
static LogStderrOutput _instance;
LogStderrOutput() : LogFileStreamOutput(stderr) {
set_config_string("all=warning");
set_config_string("all=off");
}
virtual bool initialize(const char* options, outputStream* errstream) {
return false;