No project description provided
Project description
Logging for lazyass
Use cases:
I want pretty human-readable logs in stdout:
logger = logger_factory()
I want json-formatted logs in stdout to use with glef docker driver:
logger = logger_factory(json_stdout=True)
I want to save json-formatted logs to file and collect them with filebeat:
logger = logger_factory(log_dir='/var/logs', log_file='myapp')
I want to do the same in django settings.py:
LOGGING_CONFIG = None # <- default django config
LOG_DIR = '/var/logs'
LOG_FILE = 'myapp'
configure_django_logging()
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
lazy_logging-0.0.6.tar.gz
(8.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lazy_logging-0.0.6.tar.gz.
File metadata
- Download URL: lazy_logging-0.0.6.tar.gz
- Upload date:
- Size: 8.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0a48360668ea218156108ee405c6bd7a09e290990f6b5ecc0632918e875f3850
|
|
| MD5 |
99728a176931b2de501a3e1848b451f6
|
|
| BLAKE2b-256 |
9b7cd47290560dbefc003d771d42a5ac0c07c5347f44a4f5bb6a3685684f862d
|
File details
Details for the file lazy_logging-0.0.6-py3-none-any.whl.
File metadata
- Download URL: lazy_logging-0.0.6-py3-none-any.whl
- Upload date:
- Size: 10.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
045f056d53a9c3783ffd183b62d331e75d8dfa590a3be9cfefa9d2e996c4e76d
|
|
| MD5 |
f8a34281e078bd780ba8cab444795b60
|
|
| BLAKE2b-256 |
fb3312137e4d3a2dd91466052cd52988f1d599668018b96080c44fa83158f796
|