mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 02:24:40 +02:00
8153723: Change the default logging output for errors and warnings from stderr to stdout
Reviewed-by: mlarsson, sla
This commit is contained in:
parent
a4eeccb502
commit
2096e37c4e
4 changed files with 46 additions and 8 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue