Writing to and rotating custom log files
Sometimes I need to log information from iRules to debug something. So I add a simple log statement, like this:
when HTTP_REQUEST {
if { [HTTP::uri] equals "/secure" } {
log local0. "[IP:...
Published May 27, 2010
Version 1.0smp_86112
Cirrostratus
Joined November 14, 2006
smp_86112
Cirrostratus
Joined November 14, 2006
Marvin
Jun 07, 2022Cirrocumulus
I get this error with log rotation a verify config does not show any error
[root@f5-lb-dmz-1:Active:In Sync] images # logrotate -f /etc/logrotate.conf
error: could not change directory to '.'error: syslog-ng:70 unknown option 'var' -- ignoring line
error: syslog-ng:74 unexpected }
error: found error in file syslog-ng, skipping
looking into the syslog-ng config file i see this
70 # local0.none,local2.none;local4.none;local5.none;local6.none \
71 # /var/log/messages
72 filter f_notLocal0 {
73 not facility(local0);
74 };
I have a open case with F5 support for this log rotate issue