Forum Discussion
ramann_75062
Nimbostratus
Mar 09, 2009Log to a seperate log file
Hi @all,
I want to log data in a iRule to another log file as the "normal" log file ltm - is this possible?
Thanks
Bjoern
ramann_75062
Nimbostratus
Mar 11, 2009hi,
import was possible.
[root@weblb1:Active] config b syslog list
syslog {
include "
destination d_logger0 {
file(\"/var/log/logger0\" create_dirs(yes));
};
log {
source(local);
destination(d_logger0);
};"
}
When it try now to use it:
when RULE_INIT {
log local0. "BLABLA initialized"
}
when HTTP_REQUEST {
set debug 1
if { $debug equals "1" } {log logger0. "original:[HTTP::uri]"}
}
It get in my iRule Editor:
line 6: [Invalid syslog level - bad facility: logger0] [log logger0. "original:[HTTP::uri]"]
Thanks
Bjoern
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
