A Xonsh plugin to profile and log command execution to a syslog file.
Project description
A Xonsh plugin to profile and log command execution to a syslog file.
Installation
Using pip:
pip install xontrib-syslog-shell-profiler
Usage
xontrib load syslog-shell-profiler
It will define $XONSH_HISTORY_BACKEND = JsonSyslogHistory
, if you overwrite this variable the syslog backend will not work. This history backend used the default JSON one as base and any change on that class will affect to the plugin.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file xontrib-syslog-shell-profiler-0.1.5.tar.gz
.
File metadata
- Download URL: xontrib-syslog-shell-profiler-0.1.5.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b790985568f848553172ec87c270a672f417cfed748738e5b193b6f64b03bfec |
|
MD5 | 683bef14efac94ee92b774f00a97f2e7 |
|
BLAKE2b-256 | 0b68f62695a1c283f80e147bb5c3b0d299cca1c7f42c00b12b4804cef5761b44 |
File details
Details for the file xontrib_syslog_shell_profiler-0.1.5-py3-none-any.whl
.
File metadata
- Download URL: xontrib_syslog_shell_profiler-0.1.5-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 104d88a61d0e0f21557d473b4235a2880af1b966c7dc9095b3f646abc8779f6f |
|
MD5 | dbacf243b126a1656b4c568e990cfd7e |
|
BLAKE2b-256 | 614a4d24638667badc1775bce20b3e94ee7fc9403228037a22a194dd3353f4b8 |