collection of simple utilities for use across the openvoiceos ecosystem
Actively maintained. Last release 13 days ago, commits in 17 of the last 26 weeks. A safe choice.
pip install ovos-utilsOVOS-utils
collection of simple utilities for use across the mycroft ecosystem
Install
pip install ovos_utils
Commandline scripts
ovos-logs
Small helper tool to quickly navigate the logs, create slices and quickview errors
-
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
-loption. 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).
-
ovos-logs list [-e|-w|-d|-x] [options]
List logs by severity (error/warning/debug/exception). A log level has to be specified - more than one can be listed
A start and end date can be specified using the
-sand-uoptions. Defaults to the last service start until now.
Different logs can be picked using the option. All logs will be included if not specified.