Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

The docs give a fixed list of facilties for syslog, but it's clearly possible to have more (http isn't on the list). Do I just describe it in the conf file and start using it or is is more involved? (It's an ecommerce system and I want to log the payment activities better.)

share|improve this question

3 Answers 3

You can use a filter function in the aforementioned tools. You can also use a syslog manager such as LogZilla to filter search and graph results based on facility.

share|improve this answer

AFAIK, you cannot. You probably want to take a look at the filter function of rsyslog or syslog-ng.

share|improve this answer

The syslog protocol only allows the predefined facilities defined in RFC 3164. Most (if not all) syslog daemons will process messages with different facility identifiers as corrupt.

But you can easily use the facilities local0 through local7 for your custom logging needs, which is what they are there for.

share|improve this answer
    
How does Apache do it? –  Malvolio Oct 22 '11 at 15:01
3  
It doesn't. Apache httpd either writes its own log files (not using the system's syslogd) or uses the configured facility (see documentation on ErrorLog: httpd.apache.org/docs/current/mod/core.html#errorlog) –  joschi Oct 22 '11 at 15:44

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.