Revert "Improved broker script logging"

revert-274-broker_script_logging
Andrew Mirsky 2025-07-16 18:11:38 -04:00 zatwierdzone przez GitHub
rodzic a64e7a6900
commit b1d106268a
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
11 zmienionych plików z 5 dodań i 18 usunięć

3
.gitignore vendored
Wyświetl plik

@ -4,9 +4,6 @@ __pycache__
node_modules
.vite
*.pem
*.key
*.crt
*.patch
#------- Environment Files -------
.python-version

Wyświetl plik

@ -1,7 +1,7 @@
# Image name and tag
IMAGE_NAME := amqtt
IMAGE_TAG := latest
VERSION_TAG := 0.11.3-rc.1
VERSION_TAG := 0.11.2
REGISTRY := amqtt/$(IMAGE_NAME)
# Platforms to build for

Wyświetl plik

@ -1,3 +1,3 @@
"""INIT."""
__version__ = "0.11.3-rc.1"
__version__ = "0.11.2"

Wyświetl plik

@ -1 +0,0 @@
"""Module for plugins requiring additional dependencies."""

Wyświetl plik

@ -41,12 +41,9 @@ def broker_main(
) -> None:
"""Command-line script for running a MQTT 3.1.1 broker."""
formatter = "[%(asctime)s] :: %(levelname)s - %(message)s"
if debug:
formatter = "[%(asctime)s] %(name)s:%(lineno)d :: %(levelname)s - %(message)s"
level = logging.DEBUG if debug else logging.INFO
logging.basicConfig(level=level, format=formatter)
logging.getLogger("transitions").setLevel(logging.WARNING)
try:
if config_file:
config = read_yaml_config(config_file)

Wyświetl plik

@ -1,5 +0,0 @@
# Contributed Plugins
Plugins that are not part of the core functionality of the aMQTT broker or client, often requiring additional dependencies.

Wyświetl plik

@ -1,7 +1,7 @@
{
"name": "amqttio",
"private": true,
"version": "0.11.3",
"version": "0.11.2",
"type": "module",
"scripts": {
"dev": "vite",

Wyświetl plik

@ -40,7 +40,6 @@ nav:
- Plugins:
- Packaged: packaged_plugins.md
- Custom: custom_plugins.md
- Contributed: contrib_plugins.md
- Configuration:
- Broker: references/broker_config.md
- Client: references/client_config.md

Wyświetl plik

@ -20,7 +20,7 @@ classifiers = [
"Programming Language :: Python :: 3.13"
]
version = "0.11.3-rc.1"
version = "0.11.2"
requires-python = ">=3.10.0"
readme = "README.md"
license = { text = "MIT" }

Wyświetl plik

@ -9,7 +9,7 @@ resolution-markers = [
[[package]]
name = "amqtt"
version = "0.11.3rc1"
version = "0.11.2"
source = { editable = "." }
dependencies = [
{ name = "dacite" },