Clear Log (-clearlog)
- Last Updated: November 29, 2022
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
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:
|
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:
|
For more information about enabling logging, see Troubleshoot ABL Applications.