Logging level persistence

When you use the Ignition Gateway admin interface to set the logging level for a particular logger (say “Alerting”), it seems like that logging level resets when the Gateway is restarted.

Is there any way to cause the setting to persist across restarts?

If you get the exact name of your logger, you can add it to the logback.xml file in the gateway’s data/ directory - see this commented out line for the pattern to follow:
<!--<logger name="example.logger" level="TRACE"/>-->

2 Likes

Ah OK, thank you, I’ll try that.

Worked like a charm.

1 Like