File logs for Sloth CI apps
Project description
Sloth CI extension that adds a file logger (can be rotating and timed rotating) to Sloth CI apps.
Formerly known as “sloth-ci.ext.logs.”
Extension params:
# Use the module sloth-ci.ext.file-logs. module: file_logs # Set the log path. Default is the current dir. path: debug_logs # Log filename. If not given, slug of the app's listen point will be used. filename: test_debug.log # Log level (number or valid Python logging level name). level: DEBUG # Log format (refer to the Python logging module documentation). The default value is given below. # 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
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
Built Distributions
Close
Hashes for sloth-ci.ext.file_logs-1.0.8.zip
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc3d897fcd3861b208f0c7df90e97a5df43d3b1b07f3047dd62d0ed0020627e4 |
|
MD5 | 09449d0a70c46214865c5e3be0ebfd07 |
|
BLAKE2b-256 | 5466863bbff672698a56624233acd22943dd1d411f68b4906e47d97a82e9486d |
Close
Hashes for sloth_ci.ext.file_logs-1.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5bcf8b31a982e8d839f4534ddc3fa3a37cb4200dcc6626d2f153d346429795a9 |
|
MD5 | efdf4dce7318ee5c924c31bb0c7e6380 |
|
BLAKE2b-256 | eb1d1366caf6ff12aa3e0084a0079dc3c0171b65b7e8c31d24cb633bfc4e5978 |
Close
Hashes for sloth-ci.ext.file_logs-1.0.8.win-amd64.exe
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f7f89e019b7db74e17cd7bcb387ae5df60d3750d73669b13f60743c989035cc |
|
MD5 | 55bc11ed47200e7040cf7a98933342d3 |
|
BLAKE2b-256 | d7c5fc4e46c8e9ad62e1a15b8ec77089a9911e55137dddef37b8fc5af35eb7e6 |