This is the multi-page printable view of this section. Click here to print.

Return to the regular view of this page.

Collecting logs from chroot

Purpose:

To collect logs from a chroot using an AxoSyslog client running on the host, complete the following steps:

Collecting logs from chroot

Steps:

  1. Create a /dev directory within the chroot. The applications running in the chroot send their log messages here.

  2. Create a local source in the configuration file of the AxoSyslog application running outside the chroot. This source should point to the /dev/log file within the chroot (for example, to the /chroot/dev/log directory).

  3. Include the source in a log statement.