Add tlog files.
This commit is contained in:
parent
3d50f43711
commit
fccf3ec06d
9 changed files with 541 additions and 218 deletions
39
etc/tlog/tlog-rec-session.conf
Normal file
39
etc/tlog/tlog-rec-session.conf
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
{
|
||||
// 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"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue