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
May 31, 2022Cirrocumulus
I have an issue with the log rotation not working anymore but it seems the config is correct
dehama01@(f5-lb-dmz-1)(cfg-sync Changes Pending)(Active)(/Common)(tmos)# list sys log-rotate syslog-include
sys log-rotate {
syslog-include "
/var/log/IPI_L4 {
compress
missingok
notifempty
}
var/log/GeoIP {
compress
missingok
notifempty
}
"
}