Forum Discussion
MikeR_61788
Nimbostratus
Jun 09, 2011LTM Log File Rotation
Have an F5 that is not performing log file rotation a single log file continues to grow the logrotatecommon.tmpl is shown below
Use the bigpipe shell utility to make changes to the system configuration.
@perl_begin
my $helpLine = "UNIX_CONFIG_LOGROTATECOMMON_REPLACE_TEMPLATEHELP";
print "\ For more information, see $helpLine.\n";
@perl_end
rotate log files daily
daily
logrotate_enhance controls the log files life cycle
rotate UNIX_CONFIG_LOGROTATECOMMON_DEFINE_BACKLOGS
create new (empty) log files after rotating old ones
create
compress
It will override the --force and daily, weekly... options
to rotate logs only when log file reaches certain size.
UNIX_CONFIG_LOGROTATECOMMON_REPLACE_INCLUDE
Installed in cron.daily
Logrotate.LogAge= 8
common backlogs = 24
Can anyone suggest how I can get the log rotation working?
- hoolio
Cirrostratus
Hi Mike, - Sebastian_Agui1
Altostratus
Which version from TMOS do you have? I have the same problem after upgrading from 11.6.0 HF 4 to 12.0.0. A case was opened but Suppport doesn't have knowledge of this problem and was escalated to Engineering. Also, both devices were rebooted and the log was splitted, but the behavior remains and also the ltm.1 file was not compressed.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects