aboutsummaryrefslogtreecommitdiff
path: root/logger.json
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2024-03-23 19:01:29 +0000
committerJuan J. Martinez <jjm@usebox.net>2024-03-23 19:10:43 +0000
commit0a5471217b9f562b92f32802de4260390f639880 (patch)
treedaf0655fe2753351d7fac9010e3b50c499194bb2 /logger.json
downloadpersonal-wiki-pybottle-0a5471217b9f562b92f32802de4260390f639880.tar.gz
personal-wiki-pybottle-0a5471217b9f562b92f32802de4260390f639880.zip
Initial import
Diffstat (limited to 'logger.json')
-rw-r--r--logger.json27
1 files changed, 27 insertions, 0 deletions
diff --git a/logger.json b/logger.json
new file mode 100644
index 0000000..d4a0357
--- /dev/null
+++ b/logger.json
@@ -0,0 +1,27 @@
+{
+ "version": 1,
+ "formatters": {
+ "default": {
+ "format": "%(asctime)s - %(name)s - %(levelname)s - %(message)s"
+ }
+ },
+ "handlers": {
+ "console":{
+ "class": "logging.StreamHandler",
+ "level": "INFO",
+ "formatter": "default",
+ "stream": "ext://sys.stdout"
+ }
+ },
+ "loggers": {
+ "wiki": {
+ "level": "INFO",
+ "handlers": ["console"],
+ "propagate": false
+ }
+ },
+ "root": {
+ "level": "ERROR",
+ "handlers": ["console"]
+ }
+}