How To Log Executed SQL

From Dabo Wiki
Revision as of 14:11, 17 May 2020 by Ed (talk | contribs) (Created page with "By default, Dabo does not log database activity. However, you can change this by setting the Application object's <code>DatabaseActivityLog</code> property to either: # the p...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

By default, Dabo does not log database activity. However, you can change this by setting the Application object's DatabaseActivityLog property to either:

  1. the path to the log file or
  2. an open file-like object (e.g., sys.stdout)

Once this is set, all database execution, including any parameters, will be written to that log. To turn off logging, simply set the DatabaseActivityLog property to None.