I’m having a strange error with logs that should be the same level outputting to different scopes. I have a large scripting file that has class definitions as well as some static auxiliary functions outside the classes. An SFC instantiates the objects and also mutates them using the aux functions.
I use a reference to a logger from the system.util method all throughout the file, however; the logger outputs to a different location depending on where it’s placed. Methods in the class definitions log to the gateway->diagnostics-> logs page, but those auxiliary functions log to the wrapper.log file. What am I missing? They all belong to the same file, using the same loggerEx object, all only being accessed by an SFC (which should have gateway scope?).