venerdì 15 gennaio 2010

Aix syslogd

Ottima questa pagina di SoftPanorama sul syslog daemon di Aix:

AIX syslogd implementation of SYSLOG has built-in log rotation capabilities that are specified with optional fields after the log destination:

facility-level destination rotate size s files n time t compress archive path

For example:

*.emerg;*.alert;*.crit;*.warning /var/adm/messages rotate files 4 time 7d compress

This is probably the most clean solution of the problem in comparison with Linux or Solaris solutions. As you can see in addition to rotation you can also specify compression

Strangely enough AIX does not provide any default syslog.conf at all. But for syslogd activation it needs to exist.

Nessun commento:

Visite