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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pipen_log2file-1.1.3-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pipen_log2file-1.1.3.tar.gz
  • Upload date:
  • Size: 185.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for pipen_log2file-1.1.3.tar.gz
Algorithm Hash digest
SHA256 731e5357f46289599f913d5f8f4a007d88b26c62ff2ac69fd169a25f9ebbb928
MD5 51e075ad0dd9dd7e54b47962568e6ddc
BLAKE2b-256 b374cae31e3a6f14f78d9a90c74fc7036ba6e617dfe0e2f5bf4892adc94118bb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pipen_log2file-1.1.3-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for pipen_log2file-1.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 3eabb9d96a64339af5266d440b072c8777facfd70222d0d16008ca6611ebc955
MD5 831fda1a2086e53ae4071e217bb1ca1f
BLAKE2b-256 dd7a9c779445126d5662c15971e859e8652c5bbb1406c5694c6ad3971eec137f

See more details on using hashes here.

Supported by

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