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 I log to a differnt facility, like local 0. The reason I ask is that the directories/destination of the local 3 logs does not even exist. So perhaps there is some set up work to do if one wants to use this facility
Any help would be greatly appreciated!
Thanks
Ryanne
- Ryanne_Frost_76
Nimbostratus
Actually, I can't seem to log to anything excpet local0 - By default all other log facilities are setup to log a level of info and above. debug which is the default level when not speified in the log command, is not turned on for those facilities.
when HTTP_REQUEST { log local3. "I'm logging something!" }
when HTTP_REQUEST { log local3.info "I'm logging something!" }
- Ryanne_Frost_76
Nimbostratus
Thanks for the reply, - First of all are you sure you are looking at the correct log file for local2? In my setup, the default is /var/log/gtm.
- Leslie_South_55
Nimbostratus
rfrost, it looks like you are logging and formating it like you would see in a webserver access_log; if you don't mind sharing, is this what you are doing and are you doing this to record stats on your webservers? I am trying to get the same logging format so I can import the logs into webalizer, just wondering if you are doing the same and if you have been successful in doing so.
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