@Kevin.Collins in a containerized instance of Ignition, should we expect logs to show up as normal or is there any specific setting required?
I can see my logger messages in the designer console, but in gateway status logs they don't show up for some reason.
Thanks,
Nick
If you're seeing them in the Designer Console, they are being generated from Client/Designer scope such as if you're issuing them from the Script Console or within a Vision window. What is the source of the logs in question?
@Kevin.Collins I'm generating them from project library, which in the past for onsite VM's has always produced messages consistently in the gateway logs:
Thanks,
Nick
"Project Library" is not a scope. These are present in all scopes. If called from a gateway event, the "project library" code runs in the gateway, with gateway scope. If called from a Vision Client, it runs in that client--Client Scope--and logs to that client's diagnostic tool (in the help menu). If called from the Designer (Vision window preview mode or script console), it runs right in the desiger, and is in Designer Scope (similar to Client Scope), and logs to the designer's diagnostic tool (also in the help menu).
If called from a Perspective event, including designer preview of Perspective views, the project library runs in Perspective scope in the gateway, so Gateway scope rules apply, but more predefined variables exist for the thread. And it logs to the gateway log.
Yes, I was being a dummy and calling the script from the designer script console.
The logs work just fine in the client scope where the scripts are intended to be called from.
Maybe my head is still a bit foggy from new years....
Nick
1 Like