Thanks that helped. br,
//mike On Monday, October 29, 2012 3:37:31 PM UTC+1, kinow wrote: > > Hi Mike, > > You have to create a logger for your plug-in with the right level. > > I believe this will help you: > https://wiki.jenkins-ci.org/display/JENKINS/Logging > > Cheers, > > Bruno P. Kinoshita > http://kinoshita.eti.br > http://tupilabs.com > > > >________________________________ > > From: mike <[email protected] <javascript:>> > >To: [email protected] <javascript:> > >Sent: Monday, 29 October 2012 12:33 PM > >Subject: I cannot find the logging for my plugin > > > > > >Hi, > > > >I have made a plugin ( that works most of the time). I have added logging > using: > > > >private static final Logger LOG = Logger.getLogger(TestResults.class > > .getName()); > > > > LOG.info("matchLevel() totalValue "+totalValue.toString()); > > > >I checked the log in Jenkins ( I know the code has been executed) but I > cannot find this output but I find other INFO traces: > > > > > >INFO: Completed initialization > >Oct 29, 2012 12:14:24 PM jenkins.InitReactorRunner$1 onAttained > INFO: Loaded all jobs > >Oct 29, 2012 12:13:21 PM jenkins.InitReactorRunner$1 onAttained > INFO: Augmented all extensions > >Oct 29, 2012 12:13:21 PM jenkins.InitReactorRunner$1 onAttained > INFO: Started all plugins > >Oct 29, 2012 12:13:21 PM jenkins.InitReactorRunner$1 onAttained > INFO: Prepared all plugins > >Oct 29, 2012 12:13:10 PM jenkins.InitReactorRunner$1 onAttained > INFO: Listed all plugins > > > >How come I do not find the traces for my plugin in Jenkins log? Do I > need to do anything in Jenkins to enable them? > > > >br, > > > >//Mike > > > > > > > > > >
