19.4. Procedure – Collecting logs from chroot
To collect logs from a chroot using a syslog-ng client running on the host, complete the following steps:
/devdirectory within the chroot. The applications running in the chroot send their log messages here.
Create a local source in the configuration file of the syslog-ng application running outside the chroot. This source should point to the
/dev/logfile within the chroot (for example to the
Include the source in a log statement.