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.1.0.zip
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ececd5e3a468d716445f88cd08c517321820c228f9b249c83e56a9a09091ab3 |
|
MD5 | 001821e341311a132bf0744016746913 |
|
BLAKE2b-256 | 1134d39b88a5e5860578078325b2c26a0c5a0135bae6fb4fe601c925d68cd629 |
Close
Hashes for sloth_ci.ext.file_logs-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f56c19cceaecaae3161f35e5a7341d29c6a54469c5a471f73cd7cec563ee28d9 |
|
MD5 | 1b9bc362e6d423e5bbef599adb22232e |
|
BLAKE2b-256 | 939761eb09d576ac5c8ac60effe602b469b3c8514d495041a9971d062a4e3da0 |
Close
Hashes for sloth-ci.ext.file_logs-1.1.0.win-amd64.exe
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7b675c1e3b40244096bd6e4e0a1be139f679eb549da516d2dea104fe2d9ddb9 |
|
MD5 | 4ff2ed5e1afed3e5bccb89f0c3a3c339 |
|
BLAKE2b-256 | ad1d46bb303a79b9ae3173e4f87191a6f458c023d6d1f7382131eb40fa80ff93 |