Forum Discussion
Caio_Alves_3559
Nimbostratus
Apr 24, 2018problem with irules
when RULE_INIT{
log local0."iRule created or updated"
}
when CLIENT_ACCEPTED {
log local0."in CLIENT_ACCEPTED"
}
when HTTP_REQUEST{
log local0."Client made an http request"
}
when LB_SELECTED {
lo...
youssef1
Cumulonimbus
Apr 25, 2018Hello,
try this (it's important to put a space between "local0." and your logs. otherwise you will have an error when creating the irule). MrPlactick is right is just a formating issue but additional you have to put a space between "local0." and your logs...
Like this: log local0. "blablabla"
when RULE_INIT {
log local0. "iRule created or updated"
}
when CLIENT_ACCEPTED {
log local0. "in CLIENT_ACCEPTED"
}
when HTTP_REQUEST {
log local0. "Client made an http request"
}
when LB_SELECTED {
log local0. "Pool member selected"
}
when SERVER_CONNECTED {
log local0. "Connection made with pool member"
}
when HTTP_RESPONSE {
log local0. "Pool member made an HTTP response."
}
Regards
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
