socom1985
asked on
NLog not working on server
I just deployed my WCF Service on the Server. Everything works exept Nlog writes no logfile what so ever. Permissions should all be correct as it creates other files. I have no clue where to look anymore.. Please heeelp
Local it works..
here my NLog conf
Local it works..
here my NLog conf
<?xml version="1.0" encoding="utf-8" ?>
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<targets>
<target name="file" xsi:type="File"
layout="${longdate} ${logger} ${message}"
fileName="${basedir}/logs/${shortdate}.log" />
<target xsi:type="EventLog"
name="event"
layout="${longdate} ${logger} ${message}"
machineName="localhost"
source="SaaSManager"
category="Application"
/>
<target name="console" xsi:type="Console" />
</targets>
<rules>
<logger name="*" minLevel="Trace" writeTo="file,event" />
<logger name="*" minLevel="Info" writeTo="console" />
</rules>
</nlog>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Hello:
What it was? Writing permissions issue?
Best regards.
What it was? Writing permissions issue?
Best regards.
ASKER