RFA Message Tracing

RicknBaker
RicknBaker Explorer

Hi all

Using RFA.NET 8, I've just noticed that message tracing (\Connections\...\traceMsgToFile = true)

Doesn't work when running as a Windows Service. I've checked permissions to the log folder, tried running the Service under my own log in credentails, but nothing. No file is produced..

Running the same application from the console works though.

Is there a work-around for this?

Thanks

Tagged:

Best Answer

  • @RicknBaker

    As far as I know services are started from Windows Service Control Manager and the running directory is system directory %WinDir%\System32 or %WinDir%\SysWOW64 for 64bit , you may search the RSSL trace file from the system directory.

    Alternative solution is that you can change traceMsgFileName to absolute path.

    For example,

    You may create folder name "RSSLTraceLogs" under some drive and set the configuration point to the path like the following sample.

    \Connections\<Connection_RSSL>\traceMsgFileName = "C:\RSSLTraceLogs\RSSLConsumerTrace" 

    RFA will generate RSSLConsumerTrace_<pid>.xml under C:\RSSLTraceLogs.

Answers