Add verbosal information in logs for pipen.
Project description
pipen-log2file
Save running logs to file for pipen.
The log file is saved to <workdir>/<pipeline>/.logs/run-<date-time>.log
by default.
A symlink <workdir>/<pipeline>/run-latest.log
is created to the latest log file.
The xqute logs are also saved to <workdir>/<pipeline>/<proc>/proc.xqute.log
Note that the original handler of xqute logger is removed during pipeline running.
Options
plugin_opts.log2file_xqute
: Whether to save xqute logs. Default:True
. if False, the xqute logger will be kept intact.plugin_opts.log2file_xqute_level
: The log level for xqute logger. Default:INFO
.plugin_opts.log2file_xqute_append
: Whether to append to the log file. Default:False
.
Installation
pip install -U pipen-log2file
Enabling/Disabling the plugin
The plugin is registered via entrypoints. It's by default enabled. To disable it:
plugins=[..., "no:log2file"]
, or uninstall this plugin.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pipen_log2file-0.3.2.tar.gz
(4.2 kB
view hashes)
Built Distribution
Close
Hashes for pipen_log2file-0.3.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a96e2155ee5d247d009a474c39902f16ecdc9a19ec2e6e5d62e6cd22c731bac |
|
MD5 | c947181b07eb78f4c196e5fe2ada7ad2 |
|
BLAKE2b-256 | 26f8a7fabc5548e5ddb215e3cb2b6905b77f54959f559d47852385e96d63adf8 |