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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pipen_log2file-0.6.0.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.10.12 Linux/6.2.0-1018-azure

File hashes

Hashes for pipen_log2file-0.6.0.tar.gz
Algorithm Hash digest
SHA256 6db4a8b7ccc84c039e850f3577e12646dd0fea6d81e9fe57c2beacf8ae4fcc82
MD5 93f53bebd8316f73b132a74bc97cccbb
BLAKE2b-256 8c8a2d8ef42b02644d0b4d24af9c4cd3e36dfc8a40c177a74d164955112c7406

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pipen_log2file-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.10.12 Linux/6.2.0-1018-azure

File hashes

Hashes for pipen_log2file-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 90007a8c4beac0c206494e63c50ddaa1588264a8db433cdd23c1e1e6111c524a
MD5 5f88bf69fccbe247921cdc83362573b7
BLAKE2b-256 5fa8d91d2c7fe8751d4a8c8be4a75b495df6ca4c345102ad2cbd7687581cc62c

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