Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Configuration Statements for the Logrotate Utility (SRC CLI)

    Use the following statements to configure the logrotate utility:

    system logrotate file-name{}
    system logrotate file-name logfiles name {compress;delay-compress;copy;daily;weekly;monthly;rotate rotate;size size;no-create;copy-truncate;if-empty;missing-ok;filenames filenames;shared-scripts;pre-rotate pre-rotate;post-rotate post-rotate;first-action first-action;last-action last-action;}
    system logrotate file-name logfiles name create {default;mode mode;owner owner;group group;}
    system logrotate logrotate.conf {compress;delay-compress;copy;daily;weekly;monthly;rotate rotate;size size;no-create;copy-truncate;if-empty;missing-ok;}
    system logrotate logrotate.conf create {default;mode mode;owner owner;group group;}
    system logrotate logrotate.conf logfiles name {compress;delay-compress;copy;daily;weekly;monthly;rotate rotate;size size;no-create;copy-truncate;if-empty;missing-ok;filenames filenames;shared-scripts;pre-rotate pre-rotate;post-rotate post-rotate;first-action first-action;last-action last-action;}
    system logrotate logrotate.conf logfiles name create {default;mode mode;owner owner;group group;}

    Modified: 2013-11-05