Skip to main content

jaylog

Biblioteca de logging para Python com rotação de arquivos, saída colorida no console, envio HTTP para um endpoint remoto e registro automático do ambiente de execução (host reporting).

📖 Documentação completa: https://gpocas.github.io/jaylog-book

Instalação

pip install -U --no-cache-dir jaylog

Uso rápido

.env.logging

JAYLOG_APP_NAME=meu-bot
JAYLOG_LOG_DIR=C:\logs

main.py

from jaylog import JaylogSettings, configure, get_logger

configure(JaylogSettings())

logger = get_logger()

logger.info("Olá, jaylog!")

Certificado TLS (HTTPS)

JAYLOG_LOG_HTTP_VERIFY controla a verificação do certificado em todos os envios HTTP (logs, host, métricas, heartbeat e agendas):

Valor Efeito
true (1, yes, on) Verifica com o bundle padrão do requests (certifi, ou REQUESTS_CA_BUNDLE se definida)
/caminho/corp-ca.pem Verifica com esse CA bundle — use para proxy corporativo com inspeção TLS. O caminho precisa existir: senão JaylogSettings() falha na inicialização
false (0, no, off) Não verifica (inseguro); o jaylog avisa no stderr

0.3.x: o padrão ainda é false por compatibilidade e passa a ser true na 0.4.0. Para antecipar, defina JAYLOG_LOG_HTTP_VERIFY=true ou o caminho do bundle corporativo.

Metadata

Release files for jaylog 0.3.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 jaylog 0.3.3
File Size Uploaded Provenance Actions
jaylog-0.3.3.tar.gz 57.1 kB Without provenance Details for jaylog-0.3.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for jaylog 0.3.3
File Interpreter ABI Platform Actions
jaylog-0.3.3-py3-none-any.whl Python 3 none any Details for jaylog-0.3.3-py3-none-any.whl

Total release size: 129.0 kB

Release files / jaylog-0.3.3.tar.gz

Download URL jaylog-0.3.3.tar.gz
Size 57.1 kB
Tags Source
SHA-256 checksum
How to use checksums
c4180da991df44423c3101f4be6eca2f0677fc1be3a21ba3409e019b6405a13b
BLAKE2b-256 checksum
How to use checksums
80b7134ffef5f50fee403e50e026c2092a85ece5d45e9d70dee39140a3390c6c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","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":null}

Release files / jaylog-0.3.3-py3-none-any.whl

Download URL jaylog-0.3.3-py3-none-any.whl
Size 71.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f9725289a8c1973d7d84c3b19fb8f74e5be439eb6520cf3675219639f4f5bf3b
BLAKE2b-256 checksum
How to use checksums
f479620401cafbaff553d815f2cce7a33b2bf97ed3244fbd117aef780f991a16
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","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":null}

Security for jaylog 0.3.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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.3.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