platypush/platypush
Fabio Manganiello 2ee2a1d7b5
Replaced `disable_logging` with a more generic `logging_level`.
The `disable_logging` attribute was only available on events and
responses, and it could only either entirely disable or enable logging
for all the events of a certain type.

The new flag allows more customization by setting the default logging
level used for any message of a certain type (or `None` to disable
logging). This makes it possible to e.g. set some verbose events to
debug level, and the user can see them if they configure the application
in debug mode.

It also delegates the logging logic to the message itself, instead of
having different parts of the application handling their own logic.
2022-12-11 11:46:37 +01:00
..
backend Fixed `backend.zwave` event logic dispatch for recent versions of ZWaveJS. 2022-12-10 15:35:09 +01:00
bus LINT warning fixes 2022-01-23 14:25:00 +01:00
common Create application ngrok tunnel method moved to utils 2021-11-07 11:35:47 +01:00
config `main.db` should use the configured `workdir` when not specified. 2022-12-09 23:37:10 +01:00
context Do a lazy plugin initialization in the Variable class 2022-06-07 00:04:29 +02:00
cron A more robust cron start logic 2022-10-27 10:45:59 +02:00
event Implemented synchronization with webhook responses. 2022-08-30 23:35:19 +02:00
exceptions Added support for JWT token-based authentication 2021-02-12 22:43:34 +01:00
message Replaced `disable_logging` with a more generic `logging_level`. 2022-12-11 11:46:37 +01:00
platydock Added libcap-dev to build requirements for Ubuntu Docker images 2021-11-28 22:40:04 +01:00
plugins Support for the new way of reporting events on ZWaveJS-UI. 2022-12-04 20:56:52 +01:00
procedure Major LINT fixes 2021-04-05 00:58:44 +02:00
schemas FIX: Broken docstring 2022-09-30 10:56:08 +02:00
user Add user credentials on the encrypted JWT token. 2022-11-21 13:16:09 +01:00
utils FIX: Parenthesized context managers are only available in Python >= 3.10 2022-12-08 12:28:36 +01:00
__init__.py Replaced `disable_logging` with a more generic `logging_level`. 2022-12-11 11:46:37 +01:00
__main__.py Dashboard rewritten in vue.js 2019-07-07 20:11:32 +02:00
logger.py - The context should be properly expanded also when calling a Python procedure 2021-02-27 20:27:36 +01:00