Thank you.
log4net:ERROR XmlHierarchyConfigurator: Could not create Appender
[FileAppender] of type [log4net.Appender.RollingFileAppender].
Reported error follows.
System.ArgumentException: The UNC path should be of the form \\server
\share.
at System.IO.Path.NormalizePathFast(String path, Boolean fullCheck)
at System.IO.Path.GetFullPathInternal(String path)
at System.IO.Path.GetFullPath(String path)
at log4net.Util.SystemInfo.ConvertToFullPath(String path)
at log4net.Appender.RollingFileAppender.ActivateOptions()
at
log4net.Repository.Hierarchy.XmlHierarchyConfigurator.ParseAppender(XmlElement
appenderElement)
log4net:ERROR XmlHierarchyConfigurator: Appender named [FileAppender]
not found.
]]></build>
</cruisecontrol>
<log4net>
<root>
<!--
Change the value in the next line to alter the amount of logging
generated by CruiseControl.NET.
The following values are supported: DEBUG, INFO, WARN, ERROR, OFF.
For more detailed information on how to configure log4net, see
http://logging.apache.org/log4net/
-->
<level value="DEBUG" />
<appender-ref ref="Console" />
<appender-ref ref="RollingFileAppender" />
</root>
<appender name="Console" type="log4net.Appender.ConsoleAppender">
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="[%thread:%level] %message%newline" />
</layout>
</appender>
<appender name="RollingFileAppender"
type="log4net.Appender.RollingFileAppender">
<file value="ccnet.log" />
<appendToFile value="true" />
<rollingStyle value="Size" />
<maxSizeRollBackups value="10" />
<maximumFileSize value="10MB" />
<staticLogFileName value="true" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%date [%thread:%level] %message
%newline" />
</layout>
</appender>
</log4net>
i'm not sure that this is a problem with the location of the
log4net.dll or the <log4Net> config section.
> The UNC path should be of the form \\server\share.
this is suspicious.
where is ccnet installed? where are you running / launching ccnet from?
cheers,
owen.
--
Owen Rogers | http://dotnetjunkies.com/weblog/exortech |
CruiseControl.NET - http://ccnet.thoughtworks.com
(I've tried changing the logDir element/property without success.)
<cruisecontrol>
<project name="MyProject">
<sourcecontrol type='nullSourceControl' />
<webURL>http://WebServerA/ccnet/server/BuildServerB/
ViewServerReport.aspx</webURL>
<tasks>
<FinalBuilder>
<ProjectFile>C:\Program Files\FinalBuilder 5\MyBuild\MyBuildfbz5</
ProjectFile>
<ShowBanner>false</ShowBanner>
<FBVariables>
<FBVariable name="foo" value="bar"/>
</FBVariables>
<Timeout>0</Timeout>
<DontWriteToLog>false</DontWriteToLog>
</FinalBuilder>
</tasks>
<publishers>
<xmllogger>
<logDir>C:\Documents and Settings\All Users\Application Data
\CCNet</logDir>
</xmllogger>
</publishers>
</project>
</cruisecontrol>
Thanks!
Jeff...
On Apr 13, 4:32 pm, "Owen Rogers" <exort...@gmail.com> wrote: