|
On Sun, Feb 18, 2018 at 10:06 AM, Bradley Stone wrote:
I am looking into putting together some simple NDB and SQL loggingAlso, I do understand that I could write the logs using write, and
for a customer using the appropriate exit points.
The issue I can see is, if both exit points are working, and the
logging goes to normal table, this seems like it would cause an
infinite loop of logging, no matter if RLA or SQL is used to write
the information. Unless I'm overthinking it.:)
Ie... an SQL statement comes in Exit program gets it, and writes a
log of it to a table (using SQL) ..... this causes the exit program
be called again...for each record itself writes
If we use RLA to write the SQL log, and have NDB logging, same
thing. SQL statement comes in SQL exit point logs using RLA, NDB
exit is called NDB exit writes to log and any way it does causes
either NDB or SQL pme PF the exit points will be called again.
<<SNIP>>
then hardcode in the NDB exit point that if it's this particular
file to NOT log a record, but I don't want to hardcode and I can
easily forsee if it is a setting somewhere instead that it would get
changed "accidentally" causing issues.
Same for if SQL was used to write the log data... in the SQL exit
point code a "don't log" for the specific file(s). Same issue could
occur.
Maybe it will make more sense once I see the actual data coming
through.. just thinking out loud in a cloud of fever dementia right
now. .haha..
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.