Skip to main content

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


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.3.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

pipen_log2file-0.3.3-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file pipen_log2file-0.3.3.tar.gz.

File metadata

  • Download URL: pipen_log2file-0.3.3.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.10.6 Linux/5.15.0-1041-azure

File hashes

Hashes for pipen_log2file-0.3.3.tar.gz
Algorithm Hash digest
SHA256 895d72e4bef1c8902c529a7a669f45f9ccbc605f515d659513138edeb3f994ac
MD5 dd6ad845997d3abe0cf9909c4afcb7b7
BLAKE2b-256 c177213840cce683c25862e6651d1bf5132f0011335a7405dda22fcfe3378529

See more details on using hashes here.

File details

Details for the file pipen_log2file-0.3.3-py3-none-any.whl.

File metadata

  • Download URL: pipen_log2file-0.3.3-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.10.6 Linux/5.15.0-1041-azure

File hashes

Hashes for pipen_log2file-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 684f735741168b8522c83a2a67ce845fc91ca132dc634834f3fa3b9511416246
MD5 8495fef5c686eb2fcca441b1335aab27
BLAKE2b-256 c098aa8784b3ceb2985524c0b5139541ccf514c6a9d58496894a9bb1b62c2033

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page