tlog-rec.conf(5) | File Formats Manual | tlog-rec.conf(5) |
tlog-rec.conf - tlog-rec configuration file
tlog-rec.conf is a JSON-format configuration file for tlog-rec 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 in other ways: through environment variables or command line.
Minimum: 1
Default: 10
Minimum: 32
Default: 2048
One of: "journal", "syslog",
"file"
Default: "file"
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
{
"latency": 3 }
{
"log": {
"input": true
} }
{
"writer": "file"
"file" : {
"path": "/var/log/tlog-rec.log"
} }
tlog-rec(8), http://json.org/
Nikolai Kondrashov <spbnick@gmail.com>
May 2017 | Tlog |