Clear Log (-clearlog)

Use Clear Log (-clearlog) to delete any file that matches the name of the specified client log file identified by the Client Logging (-clientlog) parameter.

Operating system and syntax UNIX / Windows -clearlog
Use with Maximum value Minimum value Single-user default Multi-user default
Client Session
Note: This parameter is valid only for interactive or batch clients.

In the following example, the client will delete the log file debug.log, if it exists, and then open debug.log as the client log file:

prowin32.exe -p myprog.p -clientlog debug.log -clearlog

In the following example, the client will delete all the log files matching the name debug.log; such as debug.000001.log through debug.000003.log. Then the client will open debug.000001.log as the client log file, as shown:

prowin32.exe -p myprog.p -clientlog debug.log -clearlog -logthreshold 1000000

For more information about enabling logging, see Troubleshoot ABL Applications.