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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pipen_log2file-1.1.0.tar.gz.
File metadata
- Download URL: pipen_log2file-1.1.0.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.2.1 CPython/3.12.3 Linux/6.11.0-1018-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
13fa3ed40cf0090130944adeb08ddd0abde74254fe08473e6bd1943e8a76d054
|
|
| MD5 |
edf5f64be852c2273415c1c14005d3ff
|
|
| BLAKE2b-256 |
d027851ccb3d4fdcfe94d42b7d6badb122251d1ecc48ea33e60608ea72e0dc62
|
File details
Details for the file pipen_log2file-1.1.0-py3-none-any.whl.
File metadata
- Download URL: pipen_log2file-1.1.0-py3-none-any.whl
- Upload date:
- Size: 5.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.2.1 CPython/3.12.3 Linux/6.11.0-1018-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
61cfc92b36a3f3ef934e8e71f9c64c49a0871a82b542af9a997990379cdb42de
|
|
| MD5 |
f40dc742bf05f5e0a2d99a3c83840c36
|
|
| BLAKE2b-256 |
ab372f55cd95f72be38e649a32be75caa0f61cedb765b1fec0b5e8e988ee1d9d
|