Forum Discussion
JRahm
Admin
Aug 07, 2007iRule logging issue in 9.4.1 ??
I just upgraded a pair of LTM's to 9.4.1 from 9.1.2 HF5 and I no longer see my iRules (log local0. "xxx") logging to /var/log/ltm, or anywhere else for that matter. I checked to make sure mcpd loggin...
hoolio
Cirrostratus
Aug 08, 2007Hey Jason,
Was your /etc/syslog-ng/syslog-ng.conf file overwritten? Where is local0.info being directed to?
I haven't seen any issues on 9.4.0 with syslog-ng logging from iRules. By default, any messages containing the string AUDIT should be logged to /var/log/audit. All other local0 messages should go to /var/log/ltm. Here is an example:
local0.* /var/log/ltm
filter f_local0 {
facility(local0) and level(info..emerg);
};
destination d_ltm {
file("/var/log/ltm" create_dirs(yes));
};
log {
source(local);
filter(f_local0);
destination(d_ltm);
};
audit log /var/log/audit
filter f_audit {
facility(local0) and match("AUDIT");
};
destination d_audit {
file("/var/log/audit" create_dirs(yes));
};
log {
source(local);
filter(f_audit);
destination(d_audit);
};
Aaron
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