Changing the size of the log rotation file

By default, the product rotates the log files when the maximum file size exceeds 100 MB. When the size of the log file exceeds the configured value, the rotation is triggered for that particular log file. Log rotation does not occur immediately after the maximum file size for the log file is reached since the cron job runs with an hourly periodicity.

logrotate maxsize <10-200 MB>

If you are planning to transfer the log rotation file by TFTP, set the log rotation file to no more than 32 MB.

Prerequisites

You must be in the configuration context:

switch(config)#