Skip to main content

File Logging for Sloth CI

You can customize your logging in a number of ways: set the output dir and filename, set log level and format, toggle and configure log rotation.

Installation

$ pip install sloth-ci-ext-logs

Usage

extensions:
    logs:
        # Use the module sloth_ci_ext_logs.
        module: logs

        # Set the log path. Default is the current dir.
        path: debug_logs

        # Log filename. If not given, the app's listen point is used.
        filename: test_debug.log

        # Log level (number or valid Python logging level name).
        level: DEBUG

        # Log format (refer to the https://docs.python.org/3/library/logging.html#logrecord-attributes).
        # By default, this format is used: 
        # format: '%(asctime)s | %(name)30s | %(levelname)10s | %(message)s'

        # Make logs rotating. Default is false.
        # rotating: true

        # If rotating, maximum size of a log file in bytes.
        # max_bytes: 500

        # If rotating, maximum number or log files to keep.
        # backup_count: 10

Metadata

Release files for sloth-ci-ext-logs 1.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sloth-ci-ext-logs 1.1.3
File Size Uploaded Provenance
sloth-ci-ext-logs-1.1.3.tar.gz 2.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for sloth-ci-ext-logs 1.1.3
File Interpreter ABI Platform
sloth_ci_ext_logs-1.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 5.9 kB

Release files / sloth-ci-ext-logs-1.1.3.tar.gz

Download URL sloth-ci-ext-logs-1.1.3.tar.gz
Size 2.8 kB
Tags Source
SHA-256 checksum
How to use checksums
2cbbaa61f14689099b7ad943fb81fe373a22ba65ebd15f5ba773dd00a4d587e4
BLAKE2b-256 checksum
How to use checksums
9ea33ed8e95abb4c4072f5645f723476f2ad13e792a0945d15e7d8f03210ca3a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.2.0a1 CPython/3.9.6 Windows/10

Release files / sloth_ci_ext_logs-1.1.3-py3-none-any.whl

Download URL sloth_ci_ext_logs-1.1.3-py3-none-any.whl
Size 3.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dfe153d3fff1c5ed823eb5daff47aff5cfecde057d21f892a221a496d8d73309
BLAKE2b-256 checksum
How to use checksums
619558915b5952f582f2c53169f09b167ac3303f808e04ffddb9ed9f3e1d4f9c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.2.0a1 CPython/3.9.6 Windows/10

Security for sloth-ci-ext-logs 1.1.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

1.1.3 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page