plain 0.42.0__py3-none-any.whl → 0.42.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
plain/logs/configure.py CHANGED
@@ -14,19 +14,24 @@ def configure_logging(logging_settings):
14
14
  },
15
15
  },
16
16
  "handlers": {
17
- "console": {
18
- "level": "INFO",
17
+ "plain_console": {
18
+ "level": environ.get("PLAIN_LOG_LEVEL", "INFO"),
19
+ "class": "logging.StreamHandler",
20
+ "formatter": "simple",
21
+ },
22
+ "app_console": {
23
+ "level": environ.get("APP_LOG_LEVEL", "INFO"),
19
24
  "class": "logging.StreamHandler",
20
25
  "formatter": "simple",
21
26
  },
22
27
  },
23
28
  "loggers": {
24
29
  "plain": {
25
- "handlers": ["console"],
30
+ "handlers": ["plain_console"],
26
31
  "level": environ.get("PLAIN_LOG_LEVEL", "INFO"),
27
32
  },
28
33
  "app": {
29
- "handlers": ["console"],
34
+ "handlers": ["app_console"],
30
35
  "level": environ.get("APP_LOG_LEVEL", "INFO"),
31
36
  "propagate": False,
32
37
  },
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: plain
3
- Version: 0.42.0
3
+ Version: 0.42.1
4
4
  Summary: A web framework for building products with Python.
5
5
  Author-email: Dave Gaeddert <dave.gaeddert@dropseed.dev>
6
6
  License-File: LICENSE
@@ -67,7 +67,7 @@ plain/internal/middleware/https.py,sha256=XpuQK8HicYX1jNanQHqNgyQ9rqe4NLUOZO3ZzK
67
67
  plain/internal/middleware/slash.py,sha256=FMU8b9w0NSx4eJs9Y7Ew6RAoSTbUqe2oOM68kg3wOng,2817
68
68
  plain/logs/README.md,sha256=wXqqAQym4g6hUiJOothj-t0RacZLf2-o9JskoZhsehA,1276
69
69
  plain/logs/__init__.py,sha256=rASvo4qFBDIHfkACmGLNGa6lRGbG9PbNjW6FmBt95ys,168
70
- plain/logs/configure.py,sha256=6mV7d1IxkDYT3VBz61qhIj0Esuy5l5QdQfsHaGCfI6w,1063
70
+ plain/logs/configure.py,sha256=2kDJ-WPv3PV4H46mz5tTfzIa2kvN6cjVlb3t-AEbMyk,1307
71
71
  plain/logs/loggers.py,sha256=iz9SYcwP9w5QAuwpULl48SFkVyJuuMoQ_fdLgdCHpNg,2121
72
72
  plain/logs/utils.py,sha256=9UzdCCQXJinGDs71Ngw297mlWkhgZStSd67ya4NOW98,1257
73
73
  plain/packages/README.md,sha256=nU2GcoCGmzmVOYRIeF8hp40aza0FF1ckvGqD5jIxocs,2494
@@ -146,8 +146,8 @@ plain/views/forms.py,sha256=ESZOXuo6IeYixp1RZvPb94KplkowRiwO2eGJCM6zJI0,2400
146
146
  plain/views/objects.py,sha256=GGbcfg_9fPZ-PiaBwIHG2e__8GfWDR7JQtQ15wTyiHg,5970
147
147
  plain/views/redirect.py,sha256=daq2cQIkdDF78bt43sjuZxRAyJm_t_SKw6tyPmiXPIc,1985
148
148
  plain/views/templates.py,sha256=SU1fO9gVMp-gEQHYeFplxvmgeMyrLgT8MJ12WNVmQC8,2085
149
- plain-0.42.0.dist-info/METADATA,sha256=C3twqGn46rZA-SF4AzmsLnQMfuq5mO-CNTmzN_vv-PQ,4297
150
- plain-0.42.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
151
- plain-0.42.0.dist-info/entry_points.txt,sha256=1Ys2lsSeMepD1vz8RSrJopna0RQfUd951vYvCRsvl6A,45
152
- plain-0.42.0.dist-info/licenses/LICENSE,sha256=m0D5O7QoH9l5Vz_rrX_9r-C8d9UNr_ciK6Qwac7o6yo,3175
153
- plain-0.42.0.dist-info/RECORD,,
149
+ plain-0.42.1.dist-info/METADATA,sha256=IHizSykNDJ-Emw_cLUPeI9le20o129_Olts1xjYHakM,4297
150
+ plain-0.42.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
151
+ plain-0.42.1.dist-info/entry_points.txt,sha256=1Ys2lsSeMepD1vz8RSrJopna0RQfUd951vYvCRsvl6A,45
152
+ plain-0.42.1.dist-info/licenses/LICENSE,sha256=m0D5O7QoH9l5Vz_rrX_9r-C8d9UNr_ciK6Qwac7o6yo,3175
153
+ plain-0.42.1.dist-info/RECORD,,
File without changes