Greetings,

after having installed  "syslog-ng"  I configured it  to add the current
date to each logfile name  and thus to start  every day  with a new log-
file.   That way logfile cleaning is just a matter of deleting old files
rather than  perpetually renaming them  and thus collecting  zillions of
copies of the same logfile under different names in my daily backups.

Up to now  trying the same  with the  OpenRC  logfile  "/var/log/rc.log"
failed however: I tried using a named pipe instead of "/var/log/rc.log",
but it didn't work out.   The system stalled  in the middle of both, the
shutdown and boot processes.

   $ grep OpenRC /etc/syslog-ng/syslog-ng.conf /etc/rc.conf
   /etc/syslog-ng/syslog-ng.conf:source orc { pipe("/var/tmp/OpenRC"); };
   /etc/rc.conf:rc_log_path="/var/tmp/OpenRC"
   $ ls -l /var/tmp/OpenRC
   prw------- 1 root root 0 2021-01-08 13:44 /var/tmp/OpenRC
   $

What did I miss?

Sincerely,
  Rainer

Reply via email to