× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



On 10/12/2017 1:21 PM, D*B wrote:
After the first stable release of ArdGate, most enhancements where made
to the logging (adding log statements) to make problem analysis more
effective. I'm even using the debug features of Eclipse only in very
rare cases, preferring to add some log statements only running in debug
mode. In production there is only very few logging, to see the real
error situations very fast, but it could be leveraged just making a
minor change to a config file.

Many, many years ago, when I was first playing with CGI programs I did
something similar, but using a *DTAARA to trigger 'debug' mode. Which
wrote a 'log' to QSYSPRT via EXCEPT and O-specs. Made QSYSPRT USROPN
and it only generated a spooled file when needed.

Maybe I'll try Log4RPG and see if I can log enough information to
isolate failures. The advantage of that would be that I would be
writing more 'defensive' code up front, rather than waiting to let the
dumps I get during testing lead me to write error traps. Sometimes
being lazy is expensive.

Thanks!


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.