Syntax
Defines the period of time in days that log content will be retained.
set logging file retention {retention_days}
retention_days must be either:
# set logging file retention unlimited
Log retention time is unlimited.
Done!
# show logging file retention
Log retention time is unlimited.
Done!
# set logging file retention 30
Log retention time is 30 days.
Done!
# show logging file retention
Log retention time is 30 days.
Done!
# set logging file retention 10000
Error: Parameter 1 (<retention_days>) value (10000) > maximum value(9999)
set logging file retention -- Set log retention time in days
Syntax : set logging file retention <retention_days>