Deleting or clearing the Database Trace log

Each time you connect to a database with tracing enabled, PowerBuilder appends the trace output of your connection to the existing log. As a result, the log file can become very large over time, especially if you frequently enable tracing when connected to a database.

StepsTo keep the size of the log file manageable:

  1. Do either of the following periodically:

    • Open the log file, clear its contents, and save the empty file.

      Provided that you use the default DBTRACE.LOG or the same nondefault file the next time you connect to a database with tracing enabled, PowerBuilder will write to this empty file.

    • Delete the log file.

      PowerBuilder will automatically create a new log file the next time you connect to a database with tracing enabled.