This page last changed on Aug 08, 2005 by mroberts.

The Xml Log Publisher is used to create the log files used by the CruiseControl.NET Web Dashboard, so if you don't define an <xmllogger /> section the Dashboard will not function correctly.

You should place the <xmllogger /> in the <publishers /> section, after any File Merge Tasks, in your Project Configuration Block.

Examples

Minimalist example:

<xmllogger />

Full example:

<xmllogger logDir="c:\myproject\buildlogs" />

Configuration Elements:

Node Description Type Required Default
logDir The directory to save log files to. If relative, then relative to the Project Artifact Directory string false buildlogs

XML Log Publisher used to support the 'mergeFiles' option. This functionality is now removed and you should use File Merge Task instead.

Just noticed my projects don't have an <xmllogger /> element, but my dashboard still works correctly. Maybe this documentation is out of date?

Posted by dcameron at Jan 01, 2007 19:26

Seems if you omit the <publishers> block, the following will be assumed.

 <publishers>

  <xmllogger />

</publishers>

So, if you add a <publishers> block for any reason, be sure to add the <xmllogger /> element.

Posted by dcameron at Jan 14, 2007 23:07
Document generated by Confluence on Jun 21, 2007 10:33