BWC::debug¶
Description¶
This command is used for troubleshooting a bwc policy instance. It enables
debug logs on per policy instance. However the bwc sys db variables for bwc
trace need to be enabled and appropriate levels needs to be set as required.
Syntax¶
BWC::debug start [module <module>] <flow | session [session string]>
BWC::debug start [level <level] <flow | session [session string]>
BWC::debug stop [module <module] <flow | session [session string]>
Examples¶
when CLIENT_ACCEPTED {
set mycookie [IP::remote_addr]:[TCP::remote_port]
BWC::policy attach test_pol $mycookie
log local0. "BWC::policy attach $mycookie"
BWC::debug start session
}