Forum Discussion
JTucker_137331
Nimbostratus
Mar 26, 2014TCL Routing Error for iRule Debug
Hi,
I have the following iRule that I would like to get some of the debug output from sent to an external server but I get this error when I set "debug 1" to enable the debug with an external serv...
Kevin_Stewart
Employee
Mar 26, 2014I get a similar error when attempting to send more than one remote syslog message this way. I would suggest switching to HSL:
when CLIENT_ACCEPTED {
set hsl [HSL::open -proto UDP -pool syslog-ubuntu-pool]
set debug 1
set log_prefix "Debug: \"[IP::client_addr]:[TCP::client_port]\" >"
if { $debug } { HSL::send $hsl "<134>$log_prefix log stuff" }
if { $debug } { HSL::send $hsl "<134>$log_prefix log more stuff" }
if { $debug } { HSL::send $hsl "<134>$log_prefix log something else" }
}
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
