Forum Discussion
APM virtual policy editor element logging to /var/log/apm?
should i expect the output in /var/log/apm? currently i only see it in the Access Policy ›› Reports : View Reports, while logging to apm log is turned on.
4 Replies
- Kevin_Stewart
Employee
That would generally depend on two things:
1. Verbosity of logs: try enabling debug mode while you're testing (but don't forget to turn it back off).
2. Log agent configuration: what have you specified to be logged with the agent? 1) got it on DEBUG, gives me extra, but not what i want :)
2) Logging item in visual policy
Log Message: some text
Customer: session.logon.last.username
but even the normal logging items such as Username and such aren't logged in the /var/log/apm/, i find this odd.
- Seth_Cooper
Employee
boneyard,
What version of Big-IP are you running? I would try this SOL article http://support.f5.com/kb/en-us/solutions/public/13000/300/sol13394
Basically depending on the version you are running there was an enahancement to only log to the database and this would explain why you would see the logs in reports but not on the /var/log/apm file.
Let me know if you have any issues or if this doesn't fix your issue.
Seth running version 11.2.1, so this would apply.
tried the command and indeed, now everything is logged. thank you.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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