info_i_25x25.png Due to unforeseen weather conditions we are experiencing higher chat wait times. Remember you can also submit a ticket and one of our support representatives will get back to you as soon as possible. We apologize for the inconvenience.

EdgeRouter - How can I adjust log sizes and number stored on EdgeRouter?


EdgeRouter is automatically set up for rotating logs. The output below indicates the default setting is to store 10 log files, rotated at 1000k:

[email protected]# cat /etc/logrotate.d/messages
/var/log/messages {
 rotate 10
 invoke-rc.d rsyslog reload >/dev/null

Note: It is recommended to use a remote syslog server in a mission critical deployment for reasons of redundancy and efficiency.

You can also change the values above with the following command:

[email protected]# set system syslog global archive ?
Possible completions:
 filesNumber of saved files
 sizeSize of log files (kbytes)