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.9.zip
Algorithm | Hash digest | |
---|---|---|
SHA256 | a60266d765e82e34665f98204892e97758e40c91c856456499dd419297981859 |
|
MD5 | fa0e36d3b9bece127eb4c4c49f35f662 |
|
BLAKE2b-256 | 3f4d5365b78b41004175690a7594c34481fb760505845f3907b4fa93bf763e2e |
Close
Hashes for sloth_ci.ext.file_logs-1.0.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 00dcd5d775e17604a21aedef0c34e07b46f3d4e7bbd502359cfb23db4a2b1381 |
|
MD5 | d9bf17c6a5eb835a91d1e883a3c62fd2 |
|
BLAKE2b-256 | a99791970e45323c5a9db643f74a909016c0f7cc13425eb7885ad76fcf4c8727 |
Close
Hashes for sloth-ci.ext.file_logs-1.0.9.win-amd64.exe
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ee5ce5868145e577751a03d69b50c0619320b6d1a67f9085ccdce609558f44a |
|
MD5 | 6f797db1b596e1c598ba10b82141da61 |
|
BLAKE2b-256 | ad229ab83a9e08ce561d652f12ff1aa1dd56315e686e8eccb4346eb4fa6c9a37 |