From 7b1ee84b343799f7c80ec8d6f796b2351e5f5e0a Mon Sep 17 00:00:00 2001 From: Matthias Date: Thu, 13 Mar 2025 19:33:20 +0100 Subject: [PATCH] chore: deprecate --logfile=journald --- freqtrade/loggers/__init__.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/freqtrade/loggers/__init__.py b/freqtrade/loggers/__init__.py index 4e04635ae..9bc20ce78 100644 --- a/freqtrade/loggers/__init__.py +++ b/freqtrade/loggers/__init__.py @@ -140,6 +140,10 @@ def _create_log_config(config: Config) -> dict[str, Any]: elif s[0] == "journald": # pragma: no cover # Check if we have the module available + logger.warning( + "DEPRECATED: Configuring Journald logging via command line is deprecated." + "Please use the log_config option in the configuration file instead." + ) try: from cysystemd.journal import JournaldLogHandler # noqa: F401 except ImportError: