Twice now in 5+ years I've bumped into circumstances where something is failing in some Java code that I have no visibility into, for some event that I have minimal controls over, but I want to be able to have a script run in response to.
In both cases, I can see the event in the Ignition logs, but have no awareness of the action that led to the failure it.
Could I have a gateway event that can be triggered by a log event from a specific logger name, and optionally requires the log message matches some regex or search string, and the event triggers a script with the log event as a parameter.
I would need to be able to see the log event time and final message in the script, since I need that information to decide what action to take.