I'm trying to configure our Realtime service to log "All" to the disk, but no files are created. It worked a couple of months ago but now i can't figure out why its not working anymore.
The folder is configured so that everyone have full control so it should'nt be a permission issue. Can anyone guide me in the right direction to get to logging to work again.
This is a logging part of the configuration file.
<system.diagnostics>
<sources>
<!-- this registers the listener with traces from a specific source -->
<source name="RetailNetTracer" switchValue="All">
<listeners>
<!-- Unblock the below code to turn on trace file. Make sure write permission is granted to the file folder. -->
<add name="RollingXmlWriterTraceListener" />
</listeners>
</source>
<source name="RetailNetTracerEventLog" switchValue="Error">
<listeners>
<add name="EventLogTraceListener" />
</listeners>
</source>
<!-- The below source and listener are required for Retail monitoring to function correctly. Please do not modify either. -->
<source name="RetailMonitoringTracer" switchValue="Information">
<listeners>
<add name="MonitoringEventLogTraceListener" />
</listeners>
</source>
</sources>
<!-- this defines a listener -->
<sharedListeners>
<!-- initializeData is the file name. If empty, it is going to be created in %TEMP%\RetailLogs\<name of exe> -->
<add name="RollingXmlWriterTraceListener" type="Microsoft.Dynamics.Retail.Diagnostics.Sinks.RollingXmlWriterTraceListener, Microsoft.Dynamics.Retail.Diagnostics.Sink" initializeData="C:\Logs\RTS\log.svclog" MaxLogFileInBytes="50000000" traceOutputOptions="ProcessId, DateTime, LogicalOperationStack" />
<add name="EventLogTraceListener" type="System.Diagnostics.EventLogTraceListener" initializeData="Microsoft Dynamics AX Retail : Real time Service CommerceDataExchangeRealtimeService" />
<!-- This listener is required for Retail monitoring to function correctly. Please do not modify it. -->
<add name="MonitoringEventLogTraceListener" type="System.Diagnostics.EventLogTraceListener" initializeData="Microsoft Dynamics AX Retail Monitoring : Real time Service CommerceDataExchangeRealtimeService" />
</sharedListeners>
<!-- this configures tracing -->
<trace autoflush="true">
<listeners>
<remove name="Default" />
<add name="RollingXmlWriterTraceListener" />
<add name="EventLogTraceListener" />
</listeners>
</trace>
</system.diagnostics>
*This post is locked for comments
I have the same question (0)