systemd-journald
is a system service that collects and stores logging data.
It creates and maintains structured, indexed journals based on logging information that is received from a variety of sources:
- Kernel log messages, via
kmsg
- Simple system log messages, via the
libc
syslog(3)
call - Structured system log messages via the native Journal API, see
sd_journal_print(4)
- Standard output and standard error of system services
- Audit records, via the audit subsystem
See REFERENCE.md for more details.
include journald
class {'journald': options => {
'Compress' => 'yes',
'ForwardToSyslog' => 'yes',
'ForwardToKMsg' => 'yes',
'ForwardToConsole' => 'no',
'TTYPath' => '/dev/console',
}
}
This module is only appicable on systems that run journald
- Fork the project
- Commit and push until you are happy with your contribution
- Send a pull request with a description of your changes