ovos-logs slice [options]
Slice logs of a given time period. Defaults on the last service start (-s
) until now (-u
)
Different logs can be picked using the -l
option. All logs will be included if not specified.
Optionally the directory where the logs are stored (-p
) and the file where the slices should be dumped (-f
) can be specified.
[ex: ovos-logs slice
]
Slice all logs from service start up until now.
[ex: ovos-logs slice -s 17:05:20 -u 17:05:25
]
Slice all logs from 17:05:20 until 17:05:25.
**no logs in that timeframe in other present logs
[ex: ovos-logs slice -s 17:05:20 -u 17:05:25 -l skills
]
Slice skills.log from 17:05:20 until 17:05:25.
[ex: ovos-logs slice -s 17:05:20 -u 17:05:25 -f ~/testslice.log
]
Slice the logs from 17:05:20 until 17:05:25 on all log files and dump the slices in the file ~/testslice.log (default: ~/slice_<timestamp>.log
).