Forum Discussion
Richard__Harlan
Nov 18, 2005Historic F5 Account
detach command
I the docs there is a reference to the detach command but when I try to use it I get the following error.
line 20: [undefined procedure: detach] [detach]
All I am doing is typeing the command detach, is there another command to do this? Thanks
2 Replies
Try removing HTTP::has_responded.
when CLIENT_ACCEPTED { set hsl [HSL::open -proto UDP -pool syslog_server_pool] } when HTTP_RESPONSE { set status_code [HTTP::STATUS] set log_msg "" append log_msg "$Client_ip" append log_msg "$status_code" HSL::send $hsl"<190> $log_msg" }
Nandhi did this work for you? if so please flag the question as answered.
Thanks Kevin for the response.
Can you please help to brief what will fetch or not captured if remove the statement "when HTTP_RESPONSE {if {HTTP::has_responded]} {return}" in the rule.
Thanks.
I'm not entirely sure that removing HTTP::has_responded would work here. But that statement is basically triggering on the presence of preceding iRule logic. You mentioned in the initial post that the 500 response was being logged by another iRule.
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