Issue Type: Bug Bug
Assignee: Unassigned
Components: core
Created: 25/Feb/13 7:04 PM
Description:

WebAppMain.installLogger only registers log handlers on a couple of top-level namespaces. Records logged under other names appear e.g. in stderr but not in /log/all.

That is fine for core, but very bad for plugins which do their own logging, as these may be in all sorts of package hierarchies. For example, org.jenkinsci for plugins created from archetype. You can even see this with the SSHD plugin which logs something at startup that is lost from the web UI.

The handler should I think be registered at the namespace root. If there is a need to specifically exclude messages from certain kinds of classes, such as those in an app server hosting Jenkins, then these should be blacklisted (e.g. by skipping just those records whose source class name can be defined in a class loader which is an ancestor of that used to load Jenkins.class).

Project: Jenkins
Labels: logging
Priority: Major Major
Reporter: Jesse Glick
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply via email to