Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Using Hudson/Collecting more logs on what Hudson is doing"

(No difference)

Revision as of 14:33, 22 March 2013

This article is a stub. It will be expanded as content is migrated from the Hudson-CIWeb site.

Hudson uses java.util.logging for logging. The j.u.l system by default sends every log above INFO to stdout, but unfortunately, most servlet containers alter this behavior, making it difficult for us to tell you exactly where you should look at. Also, they tend to bundle all the logs from the entire JVM into a single place, making it difficult to follow a particular aspect of the system.

Because of these reasons, Hudson is equipped with a GUI for configuring/collecting/reporting log records of your choosing. This page shows you how to do this.

First, select the "system log" from the "Manage Hudson" page:

Manage-screen.png

From there, you can create a custom log recorder, which helps you group relevant logs together while filtering out the noise.

Log-recorders.png

Choose a name that makes sense to you.

Enter-name.png

You'll be then asked to configure loggers and their levels whose output you'd like to collect. Depending on which part of Hudson you monitor, you'll need to specify different loggers. Tell us the symptom of your problem in the users list and we should be able to tell you where you need to look at. Also, this is really just a wrapper around the java.util.logging package, so if you program in Java, you might be able to guess what to look at.

Logger-config.png

Once the set up is complete, Hudson will start collecting data. The collected logs are available from the web UI.

Back to the top