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
Testing
@version: 4.2
@include "scl.conf"
options {
frac-digits(6);
};
source s_local0 {
system();
};
source s_local1 {
darwin-oslog()
};
source s_local2 {
darwin-oslog-stream();
};
log {
source(s_local0);
# This one is the same as s_local0 actually
#source(s_local1);
# This one gives a live macOS OSLog stream that contains much, much more log events, like debug messages, and not persistent messages
# Take care, can lead to huge system load!
#source(s_local2);
destination {
file(
"/var/log/messages"
flags(no-multi-line syslog-protocol)
flush-lines(1)
flush-timeout(1)
);
};
flags(flow-control);
};
Last updated