Hello,
i am using NLog for an ASP.NET 2.0 WebService and in the main it works great

.
But yesterday our quality assurance discovered a problem with the log files on x64 operating systems.
The callsite information is everytime the same:
2009-03-13 12:28:27.0781 1 INFO NLog.LoggerImpl.Write Config (C:\Program Files (x86)\Test\www\ippbxdc\datacollector.config)
2009-03-13 12:28:27.0781 1 INFO NLog.LoggerImpl.Write Pictures (C:\Program Files (x86)\Test\www\userpics)
2009-03-13 12:28:27.0937 1 FATAL NLog.LoggerImpl.Write Configuration could not be loaded!
2009-03-13 12:28:27.0937 1 FATAL NLog.LoggerImpl.Write Please check the datacollector.config for errors and restart the service!
The same log on a x86 operating system looks like this:
2009-03-13 12:28:27.0781 1 INFO ippbxdc.Common.readConfig Config (C:\Program Files (x86)\Test\www\ippbxdc\datacollector.config)
2009-03-13 12:28:27.0781 1 INFO ippbxdc.Common.readConfig Pictures (C:\Program Files (x86)\Test\www\userpics)
2009-03-13 12:28:27.0937 1 FATAL ippbxdc.Common.readConfig Configuration could not be loaded!
2009-03-13 12:28:27.0937 1 FATAL ippbxdc.Common.readConfig Please check the datacollector.config for errors and restart the service!
My NLog configuration file (web.nlog in the same folder as web.config) looks like this:
<?xml version="1.0" ?>
<nlog xmlns="
http://www.nlog-project.org/schemas/NLog.xsd" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance">
<targets async="true">
<target name="file" xsi:type="File"
header="IpPbxDataCollector starting..."
footer="Shutdown completed"
layout="${longdate} ${threadid:fixedLength=true:padding=3} ${level:uppercase=true:fixedLength=true:padding=-6} ${callsite:fixedLength=true:padding=-60} ${message}"
fileName="${basedir}/logs/ippbxdatacollector-${shortdate}.log" />
</targets>
<rules>
<logger name="*" minlevel="Debug" writeTo="file"/>
</rules>
</nlog>
Does anybody have an idea why the callsite could not be resolved by NLog?
Best regards
Sebastian Dreier