-
Task
-
Resolution: Unresolved
-
Trivial
-
GKE cluster, latest available version installed through default Helm values.yaml
I can modify the file logging.properties to get only WARNING and ERROR in stderr, but there is no way for the rest (INFO, DEBUG...) in stdout.
I have tried with:
.level = INFO
handlers= java.util.logging.StreamHandler, java.util.logging.ConsoleHandler
java.util.logging.StreamHandler.level = INFO
java.util.logging.StreamHandler.formatter = java.util.logging.SimpleFormatter
java.util.logging.ConsoleHandler.level = WARNING
java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
and many other ways, without success.
[JENKINS-67106] Stop Jenkins logging INFO messages to stderr and get them in stdout
Description |
Original:
Background: [https://stackoverflow.com/questions/69647803/stop-jenkins-logging-info-messages-to-stderr-interpreted-as-errors-in-google-cl
]I can modify the file `logging.properties` to get only WARNING and ERROR in stderr, but there is no way for the rest (INFO, DEBUG...) in stdout. I have tried with: ``` .level = INFO handlers= java.util.logging.StreamHandler, java.util.logging.ConsoleHandler java.util.logging.StreamHandler.level = INFO java.util.logging.StreamHandler.formatter = java.util.logging.SimpleFormatter java.util.logging.ConsoleHandler.level = WARNING java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter ``` and many other ways, without success. |
New:
Background: [https://stackoverflow.com/questions/69647803/stop-jenkins-logging-info-messages-to-stderr-interpreted-as-errors-in-google-cl]
I can modify the file `logging.properties` to get only WARNING and ERROR in stderr, but there is no way for the rest (INFO, DEBUG...) in stdout. I have tried with: ``` .level = INFO handlers= java.util.logging.StreamHandler, java.util.logging.ConsoleHandler java.util.logging.StreamHandler.level = INFO java.util.logging.StreamHandler.formatter = java.util.logging.SimpleFormatter java.util.logging.ConsoleHandler.level = WARNING java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter ``` and many other ways, without success. |
Description |
Original:
Background: [https://stackoverflow.com/questions/69647803/stop-jenkins-logging-info-messages-to-stderr-interpreted-as-errors-in-google-cl]
I can modify the file `logging.properties` to get only WARNING and ERROR in stderr, but there is no way for the rest (INFO, DEBUG...) in stdout. I have tried with: ``` .level = INFO handlers= java.util.logging.StreamHandler, java.util.logging.ConsoleHandler java.util.logging.StreamHandler.level = INFO java.util.logging.StreamHandler.formatter = java.util.logging.SimpleFormatter java.util.logging.ConsoleHandler.level = WARNING java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter ``` and many other ways, without success. |
New:
Background: [https://stackoverflow.com/questions/69647803/stop-jenkins-logging-info-messages-to-stderr-interpreted-as-errors-in-google-cl]
I can modify the file ??logging.properties?? to get only WARNING and ERROR in stderr, but there is no way for the rest (INFO, DEBUG...) in stdout. I have tried with: ??.level = INFO ?? ?? handlers= java.util.logging.StreamHandler, java.util.logging.ConsoleHandler?? ??java.util.logging.StreamHandler.level = INFO?? ?? java.util.logging.StreamHandler.formatter = java.util.logging.SimpleFormatter?? ?? java.util.logging.ConsoleHandler.level = WARNING?? ?? java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter?? and many other ways, without success. |
Description |
Original:
Background: [https://stackoverflow.com/questions/69647803/stop-jenkins-logging-info-messages-to-stderr-interpreted-as-errors-in-google-cl]
I can modify the file ??logging.properties?? to get only WARNING and ERROR in stderr, but there is no way for the rest (INFO, DEBUG...) in stdout. I have tried with: ??.level = INFO ?? ?? handlers= java.util.logging.StreamHandler, java.util.logging.ConsoleHandler?? ??java.util.logging.StreamHandler.level = INFO?? ?? java.util.logging.StreamHandler.formatter = java.util.logging.SimpleFormatter?? ?? java.util.logging.ConsoleHandler.level = WARNING?? ?? java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter?? and many other ways, without success. |
New:
Background: [https://stackoverflow.com/questions/69647803/stop-jenkins-logging-info-messages-to-stderr-interpreted-as-errors-in-google-cl]
I can modify the file ??logging.properties?? to get only WARNING and ERROR in stderr, but there is no way for the rest (INFO, DEBUG...) in stdout. I have tried with: .level = INFO handlers= java.util.logging.StreamHandler, java.util.logging.ConsoleHandler java.util.logging.StreamHandler.level = INFO java.util.logging.StreamHandler.formatter = java.util.logging.SimpleFormatter java.util.logging.ConsoleHandler.level = WARNING java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter and many other ways, without success. |