Topic: appname Variable not working in Router
Hi -
I'm sure I'm overlooking something quite simple but I'm unable to get the SmartInspect router to behave in the fashion I'm expecting...
The configuration document looks like this:
<?xml version="1.0" encoding="utf-8"?>
<router xmlns="http://schemas.gurock.com/smartinspect/router.xsd">
<logging level="verbose"/>
<listeners>
<tcp ip="127.0.0.1" port="57501"/>
</listeners>
<routes>
<route>
<triggers>
<application/>
</triggers>
<connections>file(filename="F:\M5\Logs\log %appname%.sil", rotate="hourly", append="true")</connections>
</route>
</routes>
</router>and the name of the application logging is "Test".
So I'm expecting to find a log file at F:\M5\Logs\log Test-2010-04-10-01-21-14.sil
but I'm always rewarded with F:\M5\Logs\log Auto-2010-04-10-01-21-14.sil
When viewing the log the "Application" field correctly identifies the name as "Test" but the router apparently insists on calling it "Auto".
What have I missed?
Kind regards... Allan
