This doesn't tell anything about log files. As part of the debugging process we need to be able to save specialized logs like this to files. Where are these logs saved and that would be their filenames?
It is essential to have lots that survive Jenkins restart.
The author of the plugin feels that excessive output is a "valuable feature". So the question is, if we create a rule to explicitly RAISE the log level will that prevent the spew? Or will that simply ADD more logs?
We will try the suppression technique, but I thought it might be useful for readers to understand if the INVERSE of logging works, too.
Comments
6 comments
This doesn't tell anything about log files. As part of the debugging process we need to be able to save specialized logs like this to files. Where are these logs saved and that would be their filenames?
It is essential to have lots that survive Jenkins restart.
Hi Sorin,
If you have the Support plugin installed, they'll be automatically stored under $JENKINS_HOME/logs/custom/
Best regards
Logs created by this function turn over quickly - Is there a way to increase the log size or (better yet) pipe the logs to an external logger?
Hi Chris,
Jenkins wiki also provides a way to make logs available outside of the web UI. It should probably give you enough flexibility to achieve what you need.
Question - that's not entirely clear from this description, can the Log Manager be used to SUPPRESS logs?

The build history manager plugin spews hundreds of INFO level logs for every build and this swamps our logs (See https://github.com/jenkinsci/build-history-manager-plugin/issues/49)
The author of the plugin feels that excessive output is a "valuable feature". So the question is, if we create a rule to explicitly RAISE the log level will that prevent the spew? Or will that simply ADD more logs?
We will try the suppression technique, but I thought it might be useful for readers to understand if the INVERSE of logging works, too.
The primary purpose of this feature temporarily increasing the log level for specific loggers of interest.
How to change the default or package log levels describes how to set default log levels of loggers. This works well in cases where default logging output is excessive.
Please sign in to leave a comment.