Written by

Analista Desenvolvedora Jr at Bridger
Question Heloisa Paiva · Jan 16, 2024

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? 

Comments

Jeffrey Drumm · Jan 16, 2024

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)
0
Heloisa Paiva  Jan 17, 2024 to Jeffrey Drumm

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.

0
Oliver Wilms · Jan 16, 2024

You may or may not see it in Event Log based on what is in ^Ens.Debug global.

0
Heloisa Paiva  Jan 17, 2024 to Oliver Wilms

Thank you very much!! That was exactly what I was looking for

0
Heloisa Paiva  Jan 17, 2024 to Enrico Parisi

Thank you very much!! That is exactly what I needed!!

0