mirror of
https://github.com/freqtrade/freqtrade.git
synced 2026-01-20 14:00:38 +00:00
chore: deprecate --logfile=journald
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user