system [1]
Syslog-ng OSE can automatically collect the system-specific log messages of the host on a number of platforms using the system() driver.
Important Information
If the system() driver is included in the syslog-ng OSE configuration file, syslog-ng OSE automatically adds the following sources to the syslog-ng OSE configuration. It automatically links to the default logs destination of the given platform through a compatible driver. For example:
Linux
unix-dgram("/dev/log");
file("/proc/kmsg" program-override("kernel") flags(kernel));
Solaris 8
sun-streams("/dev/log");
...
pre macOS 10.15 Catalina
file("/var/log/system.log" follow-freq(1));
macOS 10.15 Catalina and later
darwin-oslog();
Testing
Last updated