Dashboard > CruiseControl.NET > ... > Task Blocks > Xml Log Publisher
Xml Log Publisher Log In View a printable version of the current page.  
CruiseControl.NET documentation for latest CI builds
Added by Owen Rogers , last edited by Mike Roberts on Aug 08, 2005  (view change)

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?

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.

Powered by a free Atlassian Confluence Open Source Project / Non-profit License granted to ThoughtWorks, Inc.. Evaluate Confluence today.
Powered by Atlassian Confluence 2.7.1, the Enterprise Wiki. Bug/feature request - Atlassian news - Contact administrators