Forum Discussion
benniehanas_239
Mar 14, 2018Nimbostratus
Help with iRule logging to local0.
I am trying to log an iRule, but it keeps erroring out. Can you help with what I'm missing?
when HTTP_REQUEST {
if { [HTTP::path] starts_with "/media" } {
pool
persist cookie ...
Boggs_5738
Mar 14, 2018Nimbostratus
try to remove the underscores character from your media.com_28080 and TCP_logging fired section of the log. they look to be being interpreted differently by the irule. they look like actual functions similar to IP::local_addr
try this for the log statement:
log local0. ”media.com.28080 TCP.logging fired, from [IP::client_addr]"
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