ms1970
Goto Top

Debian - syslog auf andere Partition

Hallo,

kennt jemand die config, wo steht, wo die Datei syslog geschrieben wird (Standard: /var/log/ ) und sie umleiten kann, z.B. auf /home/syslog/ ?

(Debian 5.0.7)

Viele Grüße
Maik

Content-Key: 254575

Url: https://administrator.de/contentid/254575

Printed on: April 25, 2024 at 15:04 o'clock

Member: Lochkartenstanzer
Solution Lochkartenstanzer Nov 12, 2014 updated at 10:17:17 (UTC)
Goto Top
sudo grep -ri /var/log/syslog /etc

sollte Dir Auskunft geben. face-smile

lks

PS: /etc/rsyslog.d/* ist eine gute Anlaufstelle.
Member: ms1970
ms1970 Nov 12, 2014 at 10:16:40 (UTC)
Goto Top
Hallo,

bin wohl einfach etwas müde. Hier kann man den Pfad ändern.

/etc/rsyslog.conf


Viele Grüße
Maik
Member: Lochkartenstanzer
Lochkartenstanzer Nov 12, 2014 at 11:07:39 (UTC)
Goto Top
Zitat von @ms1970:

/etc/rsyslog.conf

Vergiß aber nciht, auch in /etc/rsyslog.d/* reinzuschauen. Da legen mache Programme Ihre Konfigurationsdateien ab, die dann das log auch in /var/log/syslog schreiben sollen. Sonst hast du eventuell zwei Syslogdateien, eine in /home und eine in /var/log.

lks