Forum Discussion
Can I force active connections to read an iRule after it has been changed?
If I change an iRule, how can I force active connections to read the new iRule?
2 Replies
- nitass
Employee
i am not aware of any method except resetting (deleting) active connection.
anyway, if change is on data group data (e.g. enabling/disabling debug based on data group data instead of irule variable), it will also affect active connection.
- CTree
Altostratus
The example would be: adding log messages to an iRule for diagnostics. I guess I could add a data group for log messages (seems like overkill).
if {[class match [string tolower [HTTP::host]] ends_with log-diagnostic]} { set logmessage [class match -value -- [HTTP::host] ends_with log-diagnostic] log local0. "$logmessage " }Data Group String: test.host.org := "Address [HTTP::host][HTTP::uri] REFERER [HTTP::header "Referer"] Client IP Address: [IP::client_addr] "
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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
