TRACE in qewd

22 views
Skip to first unread message

Michael Reach

unread,
Jul 17, 2024, 5:12:42 PM7/17/24
to Enterprise Web Developer Community
Hi, I'm trying to remember from a while back: How does one turn on TRACE in qewd code for development? (We're using qewd-up.) I remember that there was at least one standard way to do it, but if there are more ways I'd like to know that too.
Thanks,
Michael Reach

Rob Tweed

unread,
Jul 19, 2024, 2:03:23 PM7/19/24
to enterprise-web-de...@googlegroups.com
Hi Michael

Good question - `i had to search around for an answer.

I've not tried this but the logging is done (or not) within the underlying ewd-qoper8 module.  Its properties and methods are exposed in QEWD via this.q I believe.

So when you start QEWD, you can run the toggleLogging() method to turn logging off (the default should be logging is on):

this.q.toggleLogging();

I think you may also be able to do it directly:

this.q.log = true | false

You need to set this before any messages get sent to workers, since the current value of this.log is propagated to any new worker when it starts up

Let me know if this helps!

Rob


--
You received this message because you are subscribed to the Google Groups "Enterprise Web Developer Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to enterprise-web-develope...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/enterprise-web-developer-community/d6d800cd-e916-4e85-962c-80659450077dn%40googlegroups.com.


--
Rob Tweed
Director, MGateway Ltd
http://www.mgateway.com

Michael Reach

unread,
Jul 19, 2024, 7:27:21 PM7/19/24
to Enterprise Web Developer Community
I'm actually asking backwards: There's this SQL.LOG file appearing in the Cache' folder (\cache\mgr) and growing fast. We don't know yet what's doing that, and I'm looking for suspects. (It isn't in the qewd-up folder, which is where most of the qewd logging appears.)
Michael

Rob Tweed

unread,
Jul 20, 2024, 5:36:03 AM7/20/24
to enterprise-web-de...@googlegroups.com
I don't know any reason why QEWD or its dependencies would be affecting what sounds like a Cache-specific log file. 

What kind of records are going into it?  Are they errors or standard records of Cache SQL activity?

I think you may need to get InterSystems to investigate, at least to get their view on what would control or impact that particular log file.

Rob


Michael Reach

unread,
Jul 21, 2024, 9:53:50 PM7/21/24
to Enterprise Web Developer Community
Thank you. I did suspect that but thought I'd ask.
Reply all
Reply to author
Forward
0 new messages