pruneAllLogs command

Last Updated : Feb 21, 2020 |

The pruneAllLogs.sh utility manages the deletion of log files.

Syntax

pruneAllLogs.sh [-b] [-t] [-v] [-h] [maxRetentionTime]
-b
Deletes the base log files.
-t
Displays the list of log files that are eligible for deletion. Test mode. Does not delete the log files.
-v
Verbose mode.
-h
The option to print help options.
maxRetentionTime
The Maximum Retention Time in days (optional). If the value is not provided, the current administered value is used.