From: John C. <joh...@gm...> - 2008-06-30 15:29:35
|
is it possible to customize the CruiseControl server logging? I've beentrying to find a way to modify the logging properties, and setting the debug flag is not sufficient. The usage scenario is that every once in a while, subversion fails, and since this is bootstrapping and not part of the build, the build notification does not get triggered. If watching the CruiseControl server log, we see a CruiseControlException, but that error does not show up in the CruiseControl dashboard. I do not see anywhere that CruiseControl reports non-build related issues. Thanks John On 6/30/08, EJ Ciramella <ejc...@up...> wrote: > I don't want to let this one fade into obscurity (as we hang up on it > with every release we evaluate). > > -----Original Message----- > From: cru...@li... > [mailto:cru...@li...] On Behalf Of > EJ Ciramella > Sent: Thursday, June 26, 2008 11:11 AM > To: cru...@li... > Subject: Re: [Cruisecontrol-user] regression of xsl files > > No no, sorry, my fault for misleading people - we went from 2.7.1-rc3 to > 2.7.2. The problem isn't in the xsl file, it's in maven2Script.java - > > Original version > > final Element msg = new Element("message"); > > msg.addContent(new CDATA(line)); > > > > Our version > > final Element msg = new Element("message"); > > msg.addContent(new CDATA(line.replaceAll("[\\x00-\\x1f]", > ""))); > > > Otherwise, parsing some of our logs fail with errors like this: > > [java] [cc]Jun-26 11:09:03 StreamPumper - Problem consuming line > [[INFO] Creating exploded ear file c:\work\up-sv > cs\lty\proj\olmAdminApp\target\olmAdminAppWar.ear.] > [java] org.jdom.IllegalDataException: The data "[INFO] Creating > exploded ear file > c:\work\up-svcs\lty\proj\olmAdminApp\target\olmAdminAppWar.ear." is not > legal for a JDOM CDATA section: 0x0 is not a legal XML character. > [java] at org.jdom.CDATA.setText(CDATA.java:121) > [java] at org.jdom.CDATA.<init>(CDATA.java:95) > [java] at > net.sourceforge.cruisecontrol.builders.Maven2Script.consumeLine(Maven2Sc > ript.java:198) > [java] at > net.sourceforge.cruisecontrol.util.CompositeConsumer.consumeLine(Composi > teConsumer.java:67) > [java] at > net.sourceforge.cruisecontrol.util.StreamPumper.consumeLine(StreamPumper > .java:137) > [java] at > net.sourceforge.cruisecontrol.util.StreamPumper.run(StreamPumper.java:12 > 4) > [java] at java.lang.Thread.run(Thread.java:595) > [java] [cc]Jun-26 11:09:03 ScriptRunner - [INFO] Initializing... > [java] [cc]Jun-26 11:09:03 ScriptRunner - [INFO] Creating > application.xml... > [java] [cc]Jun-26 11:09:03 StreamPumper - Problem consuming line > [[INFO] Creating application.xml...] > [java] org.jdom.IllegalDataException: The data "[INFO] Creating > application.xml..." is not legal for a JDOM CDATA > section: 0x0 is not a legal XML character. > > -----Original Message----- > From: cru...@li... > [mailto:cru...@li...] On Behalf Of > Jeffrey Fredrick > Sent: Wednesday, June 25, 2008 10:08 PM > To: cru...@li... > Subject: Re: [Cruisecontrol-user] regression of xsl files > > Did you just make a big jump in CC versions? Because that file hasn't > changed in almost a year and half... > > http://cruisecontrol.svn.sourceforge.net/viewvc/cruisecontrol/trunk/crui > secontrol/reporting/jsp/webcontent/xsl/testdetails.xsl?view=log > > Jtf > > On Thu, Jun 26, 2008 at 12:29 AM, EJ Ciramella > <ejc...@up...> wrote: >> We're once again experiencing the "0X0 is not a legal XML character" > when CC >> is parsing the m2 build/test logs in the latest released version: >> >> http://osdir.com/ml/java.cruise-control.user/2003-07/msg00061.html >> >> I couldn't find the bug in Jira... >> > > -- > http://blog.jeffreyfredrick.com > http://www.ohloh.net/accounts/JeffreyFredrick > ------------------------------------------------------------------------ > - > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Cruisecontrol-user mailing list > Cru...@li... > https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user > > ------------------------------------------------------------------------ > - > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Cruisecontrol-user mailing list > Cru...@li... > https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Cruisecontrol-user mailing list > Cru...@li... > https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user > -- Sent from Gmail for mobile | mobile.google.com |