Forum Discussion
Test message is not present in the log file.
Hi,
I would like to ask your support please. We are beginning of creating an iRule and at first we would write something into the log but for some reasons it is failing.
The script what we used is the following:
when HTTP_RESPONSE {
HTTP::collect 1024
set response_data [HTTP::payload]
log local0. "TEST HTTP RESPONSE: '$response_data'"
set today [clock format [clock seconds] -format %Y-%m-%d]
log local0. "TODAY: '$today'"
}
but the log shows no information for it using the command "tail /var/log/ltm" or "grep TEST /var/log/ltm".
Thank you in advance.
Best Regards
Robert
Can you try same iRule during HTTP_REQUEST_DATA event ?
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