Forum Discussion
Steve_Sutton_87
Nimbostratus
Apr 29, 2005log statement not logging?
Hi,
I'm trying to use the log statement to help me debug whether I'm passing through pieces of a rule. But I must be missing something, because nothing ever shows up in /var/log/bigip. ...
Scott_Tennican_
May 02, 2005Historic F5 Account
The problem is that the redirect statement is a terminal statement. Execution of the statement list terminates after the execution of a redirect. Therefore, a log statement following a redirect is never executed.
In contrast, the use and log statements are non-terminal.
So, for example, all the statements in the list below would execute before the rule returns:
use pool my_pool
use snatpool my_snatpool
log "Hello"
To fix your problem, simply put the log statement before the redirect statement.
This limited statement list implementation was added as part of the Intelligent SNAT stealth feature and was poorly documented.
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
