Where can I find $$$sysTRACE?
When I do $TRACE("message") I can see the message on the message viewer. However, I don't know where to find messages generated from $$$sysTRACE, and I haven't found anything about it in the documentation.
Do you know where I can find it?
It's defined in Ensemble.inc ... but I'm not sure that's what you're looking for. The output should show in the Event log.
#define sysTRACE(%arg) $$$catTRACE("system",%arg) #define catTRACE(%cat,%arg) Do:$$$DoTrace ##class(Ens.Util.Trace).WriteTrace(%cat,$$$CurrentClass,$$$CurrentMethod,%arg)
Thank you very much! I should've been more specific in my question. I saw the Ensemble.inc file and the WriteTrace source code, but my output wouldn't show in the Event Log and I was having trouble understanding why.
Now I know that the ^Ens.Debug global defines the rules about tracing.
You may or may not see it in Event Log based on what is in ^Ens.Debug global.
Thank you very much!! That was exactly what I was looking for
Please check "Enabling Tracing" documentation here.
Thank you very much!! That is exactly what I needed!!