tlog-rec-session.conf(5) | File Formats Manual | tlog-rec-session.conf(5) |
tlog-rec-session.conf - tlog-rec-session configuration file
tlog-rec-session.conf is a JSON-format configuration file for tlog-rec-session program. Contrary to the strict JSON specification, both C and C++ style comments are allowed in the file.
The file must contain a single JSON object with the objects and fields described below. Almost all of them are optional and assume a default value. However, those that do require a value can still be omitted and specified to tlog-rec-session in other ways: through environment variables or command line.
Default: "/bin/bash"
Default: "\nATTENTION! Your session is being recorded!\n\n"
Minimum: 1
Default: 10
Minimum: 32
Default: 2048
One of: "journal", "syslog",
"file"
Default: "journal"
Default: false
Default: true
Default: true
Minimum: 0
Default: 16384
Minimum: 0
Default: 32768
One of: "pass", "delay", "drop"
Default: "pass"
No default.
One of: "auth", "authpriv",
"cron", "daemon", "ftp", "kern",
"local0", "local1", "local2",
"local3", "local4", "local5",
"local6", "local7", "lpr",
"mail", "news", "syslog",
"user", "uucp"
Default: "authpriv"
One of: "emerg", "alert",
"crit", "err", "warning",
"notice", "info", "debug"
Default: "info"
One of: "emerg", "alert",
"crit", "err", "warning",
"notice", "info", "debug"
Default: "info"
Default: true
{ "shell": "/usr/bin/zsh" }
{ "log": { "input": true } }
{ "writer": "file", "file" : { "path": "/var/log/tlog-rec-session.log" } }
tlog-rec-session(8), http://json.org/
Nikolai Kondrashov <spbnick@gmail.com>
February 2016 | Tlog |