Hi Gerry,

Create a new named Log Recorder and then configure it following the 
instructions. Within the configuration page, add a new a Logger for 
hudson.model.Queue.

You can see where the logger is initialized here: Queue.java#L2792 
<https://github.com/jenkinsci/jenkins/blob/226f7b4c2bedb14b70f12da90db15574e18364d0/core/src/main/java/hudson/model/Queue.java#L2792>.
 
The loggers are typically identified by class name. 

Hope that helps.

Stuart


On Friday, 25 January 2019 12:24:18 UTC-8, Gerry Storm wrote:
>
> I built Jenkins from the source and want to enable logging available in 
> some Jenkins source files.
>
> How do I do this?
>
> I tried to follow the instructions in 
> https://wiki.jenkins.io/display/JENKINS/Logging but did not get much 
> mileage.
> The page says "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"
>
> How do I enable logging in say core/src/main/java/hudson/model/Queue.java?
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/adf365e7-fc1e-457e-ae3a-67263132f140%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to