Forum Discussion
Ryanne_Frost_76
Nimbostratus
Jan 18, 2006help logging to local3
Hi Everyone, I'm trying to set up an iRule that logs Http request to the local3 facility.
Is there any changes I have to make to the syslog-ng.conf file for this to happen? my iRule works fine if...
Ryanne_Frost_76
Nimbostratus
Jan 20, 2006Thanks for the reply,
however, even adding info, it is still not logging
Here is my irule
when HTTP_REQUEST {
set curtime [clock seconds]
set formattedtime [clock format $curtime -format {%d/%b/%Y:%T %z}]
set log_format "[IP::client_addr] - - \[$formattedtime\] \"[HTTP::method] [HTTP::uri] HTTP/[HTTP::version]\""
}
when HTTP_RESPONSE {
log local2.info "$log_format [HTTP::status]"
}
just as a note, as I mentioned earlier, if I change local2.info , to just local0...it works as expected
Thanks!
Ryanne
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
