salt.states.logadm module

Management of logs using Solaris logadm.

maintainer:Jorge Schrauwen <sjorge@blackdot.be>
maturity:new
depends:salt.modulus.logadm
platform:Oracle Solaris, Sun Solaris, illumos

New in version nitrogen.

.. note::
    TODO
salt.states.logadm.remove(name, log_file=None)

Remove a log from the logadm configuration

name
: string
entryname
log_file
: string
(optional) log file path

Note

If log_file is specified it will be used instead of the entry name.

salt.states.logadm.rotate(name, **kwargs)

Add a log to the logadm configuration

name
: string
alias for entryname
**kwargs
: boolean|string|int
optional additional flags and parameters