wsanders_233261
Sep 18, 2017Nimbostratus
Can't get ltm policy to log
I have the following policy:
modify policy httptohttps-POLICY {
controls { forwarding }
requires { http }
rules replace-all-with {
httptohttpsRULE {
actions replace-all-with {
0 {
http-reply
redirect
location "https://[getfield [HTTP::host] \":\" 1][HTTP::uri]"
}
1 {
log
write
message "REDIRECTED: https://[getfield [HTTP::host] \":\" 1][HTTP::uri]"
}
}
ordinal 1
}
}
strategy first-match
}
It doesn't seem to log anything. This is tmsh 11.6. How do I get logging to work? How can I get it to log to local0.debug?