Forum Discussion
Rich_Bogle_1106
Nimbostratus
Aug 25, 2005Log funtion output with spaces
I am using the following irule and as you can see the output has some text that would normally run togther. I have inserted the _ to help make it easier to read. I would ultimately prefer spaces. Does anyone know the syntax to do so?
when SERVER_CONNECTED {
log Client_[IP::client_addr]|[TCP::client_port]_connected_to_server_[IP::server_addr]|[TCP::server_port]_with_protocol_[IP::protocol]
}
Thanks
- You can use quotes and embed variables in between them.
when SERVER_CONNECTED { log "Client [IP::client_addr]|[TCP::client_port] connected to server [IP::server_addr]|[TCP::server_port] with protocol [IP::protocol]" }
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