[JIRA] [core] (JENKINS-18959) /log/all polluted with FINE* messages from other loggers

2013-07-30 Thread jgl...@cloudbees.com (JIRA)














































Jesse Glick
 commented on  JENKINS-18959


/log/all polluted with FINE* messages from other loggers















Well /log/all never shows all log records; by default it always shows everything logged at INFO and above (after a fix I made a few months ago to not restrict it to hudson.* and jenkins.* namespaces); but then it was also showing FINE and lower records that were only being logged at all because other /log/* loggers had been configured to show them. This is because in java.util.logging, to receive log records you need to both set the level of the logger low enough and attach a handler to it, but these are separate acts: all handlers attached to the logger will receive the same records.

So this fix tries to avoid sending the finer log records to all when they are already being displayed somewhere else, currently just by limiting all to INFO and above. It probably needs some adjustment since you can also—IMHO quite confusingly—adjust levels of arbitrary loggers in the Jenkins UI without adding a /log/* logger.



























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.
 
 


[JIRA] [core] (JENKINS-18959) /log/all polluted with FINE* messages from other loggers

2013-07-30 Thread ja...@howeswho.co.uk (JIRA)














































James Howe
 commented on  JENKINS-18959


/log/all polluted with FINE* messages from other loggers















It's less confusing for /log/all not to show all logs?



























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.
 
 


[JIRA] [core] (JENKINS-18959) /log/all polluted with FINE* messages from other loggers

2013-07-26 Thread dogf...@java.net (JIRA)














































dogfood
 commented on  JENKINS-18959


/log/all polluted with FINE* messages from other loggers















Integrated in  jenkins_main_trunk #2751
 [FIXED JENKINS-18959] /log/all should not show FINE messages from custom loggers. (Revision 010d9e9067b7fa3ce776ec5f76a6cc4d0fdff258)

 Result = SUCCESS
Jesse Glick : 010d9e9067b7fa3ce776ec5f76a6cc4d0fdff258
Files : 

	changelog.html
	core/src/main/java/hudson/WebAppMain.java





























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.
 
 


[JIRA] [core] (JENKINS-18959) /log/all polluted with FINE* messages from other loggers

2013-07-26 Thread scm_issue_l...@java.net (JIRA)














































SCM/JIRA link daemon
 commented on  JENKINS-18959


/log/all polluted with FINE* messages from other loggers















Code changed in jenkins
User: Jesse Glick
Path:
 changelog.html
 core/src/main/java/hudson/WebAppMain.java
http://jenkins-ci.org/commit/jenkins/010d9e9067b7fa3ce776ec5f76a6cc4d0fdff258
Log:
  [FIXED JENKINS-18959] /log/all should not show FINE messages from custom loggers.






























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.
 
 


[JIRA] [core] (JENKINS-18959) /log/all polluted with FINE* messages from other loggers

2013-07-26 Thread scm_issue_l...@java.net (JIRA)















































SCM/JIRA link daemon
 resolved  JENKINS-18959 as Fixed


/log/all polluted with FINE* messages from other loggers
















Change By:


SCM/JIRA link daemon
(26/Jul/13 9:23 PM)




Status:


Open
Resolved





Resolution:


Fixed



























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.
 
 


[JIRA] [core] (JENKINS-18959) /log/all polluted with FINE* messages from other loggers

2013-07-26 Thread jgl...@cloudbees.com (JIRA)














































Jesse Glick
 created  JENKINS-18959


/log/all polluted with FINE* messages from other loggers















Issue Type:


Bug



Assignee:


Jesse Glick



Components:


core



Created:


26/Jul/13 9:11 PM



Description:


If you define a custom logger that captures messages at FINE or below, they also appear in /log/all, which is confusing and clouds the main log display.




Project:


Jenkins



Labels:


logging




Priority:


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.