Skip to content

Latest commit

 

History

History
60 lines (42 loc) · 1.94 KB

README.md

File metadata and controls

60 lines (42 loc) · 1.94 KB

License CII Best Practices Puppet Forge Puppet Forge Downloads Build Status

Table of Contents

Overview

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.

Setup

Beginning with journald

include journald

Usage

class {'journald': options => {
    'Compress'         => 'yes',
    'ForwardToSyslog'  => 'yes',
    'ForwardToKMsg'    => 'yes',
    'ForwardToConsole' => 'no',
    'TTYPath'          => '/dev/console',
  }
}

Limitations

This module is only appicable on systems that run journald

Development

  • Fork the project
  • Commit and push until you are happy with your contribution
  • Send a pull request with a description of your changes