diff --git a/ecowitt2mqtt/core.py b/ecowitt2mqtt/core.py index c009d662..ce4d0dde 100644 --- a/ecowitt2mqtt/core.py +++ b/ecowitt2mqtt/core.py @@ -9,7 +9,7 @@ import colorlog from ecowitt2mqtt.config import ConfigError, Configs -from ecowitt2mqtt.const import LEGACY_ENV_LOG_LEVEL, LOGGER, __version__ +from ecowitt2mqtt.const import LOGGER, __version__ from ecowitt2mqtt.runtime import Runtime @@ -19,7 +19,7 @@ def configure_logging(verbose: bool) -> None: Args: verbose: Whether verbose logging should be included. """ - if verbose or os.getenv(LEGACY_ENV_LOG_LEVEL): + if verbose: log_level = logging.DEBUG else: log_level = logging.INFO