syslog: /var/log/mail.log vs -/var/log/mail.log

Karol Kreński pldmimooh w inf.sgsp.edu.pl
Sob, 24 Lip 2004, 16:28:29 CEST


Witam,

W wielu miejscach spotkałem taką uwagę:

Where is the bottleneck?
credits go to Victor Duchovni et al.

    * Make sure your syslogd is logging asynchronously. In syslog.conf,
    * change:

      mail.* /var/log/mail.log into:
      mail.* -/var/log/mail.log 

(http://www.stahl.bau.tu-bs.de/~hildeb/postfix/postfix_bottleneck.shtml)

[root w wszafie mimooh]# rpm -qf /etc/syslog.conf 
syslog-1.4.1-9
[root w wszafie mimooh]# grep mail /etc/syslog.conf 
# Log anything (except mail) of level info or higher.
*.info;mail.none;authpriv.none 				/var/log/messages
# Log all the mail messages in one place.
mail.*                                                  /var/log/maillog
							^^^^^^^^^^^^^^^^

# Save mail and news errors of level err and higher in a

Skoro tak jednoznacznie się za tym opowiadają to może warto to ustawić
domyślnie?

mimooh




Więcej informacji o liście dyskusyjnej pld-devel-pl