# cleanOutdateLogFiles {#cleanoutdatelogfiles}

**Parent topic:**[Functions](../../Functions/category.md)

## Syntax {#syntax}

`cleanOutdateLogFiles([retentionTime=30])`

## Arguments {#arguments}

**retentionTime** \(optional\) is the amount of time to keep a log file. The default value is 30 \(days\).

## Details {#details}

Call this command to remove the log files kept for over *retentionTime*.

