Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


days-to-keep-error-logs (Batch Commits)



Hierarchy Level

Release Information

Statement introduced in Junos OS Release 12.1.


For Junos OS batch commits, specify the number of days to keep the error logs.


days-to-keep-error-log-entriesNumber of days to keep the error logs.

Range: 1 through 366 days

Default: 1 day

Required Privilege Level

system—To view this statement in the configuration.

system-control—To add this statement to the configuration.