Forum Discussion
Thanks for the reply. Unfortunately, I am still having issues. There are no ACLs, so neither the "when ACCESS_ACL_ALLOWED" or "when ACCESS_ACL_DENIED" produce any results.
I tried this:
when ACCESS_POLICY_AGENT_EVENT {
log local0. "Result = [ACCESS::session data get session.policy.result]"
log local0. "State = [ACCESS::session data get session.state]"
}
}
But it also returns the same "not_started" message.
I realize the APM log already provides this information, but I have been asked to provide all the information to be displayed in one concise log message in the LTM log.
I reviewed some of the APM training, but I was unable to find anything relating to this specific issue.
Is this even possible?
Another idea of mine is to trigger an event when the user hits the my.policy page that says "Access was denied by the access policy." Any thoughts?