system-configs/etc/tlog/tlog-rec-session.conf

39 lines
1.2 KiB
Text

{
// A message which will be printed before starting
// recording and the user shell. Can be used to warn
// the user that the session is recorded.
"notice" : "\nATTENTION! All input and output in your session is being recorded!\n\n",
// The number of seconds to cache captured data for before logging.
// The encoded data which does not reach payload size
// stays in memory and is not logged until this number of
// seconds elapses.
"latency" : 5,
// The maximum encoded data (payload) size per message, bytes.
// As soon as payload exceeds this number of bytes,
// it is formatted into a message and logged.
"payload" : 1024,
// Logged data set parameters
"log": {
// If true, user input is logged.
"input" : true,
// If true, terminal output is logged.
"output" : true,
// If true, terminal window size changes are logged.
// "window" : true
},
// File writer parameters
"file": {
// The "file" writer log file path.
"path" : "/var/log/tlog-session-recordings.json"
},
// The type of "log writer" to use for logging. The writer needs
// to be configured using its dedicated parameters.
"writer" : "file"
}