Thursday, October 1, 2015

How to set the BACnet server to TRACE in Niagara Ax

Right-click on the station in the nav tree and select "Spy".



 Then click "logSetup" to go to the screen for configuring logs.


Here you can set each of the various logs in your station to different levels of output - from None (no output), Error (only ERROR messages), etc. up to Trace (which prints diagnostic-level output useful for identifying problems when troubleshooting ).  The default level for all logs is Message.  Click the cell in the Trace column, and the row labeled "bacnet.server".





Then the station output will display trace-level messages for the bacnet.server log.  From this you should be able to see where the requests are coming from and configure the offending device properly.  In order to avoid unnecessarily burdening the station, you should turn trace debug off (by setting back to Message) when you are finished.

Note that log settings DO NOT persist across station restart, unless you click the Save To File link at the top.  This will save them to the /lib/log.properties file, which is read upon station startup to initialize the log levels.