Logger Configuration tool
The Logger Configuration tool allows you to manage log settings for the local Workbench. Using the Logger Configuration view you can add and remove log categories and change the applied severity level, which determines the amount of data that is displayed.
Logging is an effective tool for troubleshooting and debugging station communications problems. Each driver and device installed on the connected station has a log category based on its type.
In Niagara 4 logging is handled by the Java.util.logging (JUL) utility which supports multiple concurrent log handlers and provides hierarchical logging support. Also in systems without the Workbench connection, this capability allows you to enable/disable loggers using a web browser.
Logging configuration settings for local or Workbench logs are stored in the !logging/logging.properties file which exists in two locations, your Workbench User Home and the daemon User Home, and are maintained by the framework.
| NiagaraAX Log Levels | Niagara 4 Log Levels |
|---|---|
| Off | |
| Error | Severe |
| Warning | Warning |
| Message | Info |
| Config | |
| Trace | Fine |
| Finer | |
| Finest | |
| All |
The Logger Configuration view is the main view for the Logger Configuration tool, as well as for the station DebugService.

Logs for the connected station are visible in the platform Application Director view. While logs for Workbench are visible in the Niagara console started with Workbench.
The logs are persisted each time they are changed, since the changes are saved to the logging.properties file.

Both Local (Workbench ) Spy and Remote ( Station ) Spy can be accessed via Workbench by right-clicking the station in the Nav tree. Only Remote ( Station ) Spy can be accessed via a web browser using the url :http(s)://<ip address>:<port number>/ord?spy: