Slightly reduce verbosity when reload_conf is issued

part of #6095
This commit is contained in:
Matthias
2021-12-23 20:33:13 +01:00
parent 9a9cc31d83
commit 61dbb6206f
2 changed files with 6 additions and 3 deletions

View File

@@ -85,9 +85,12 @@ class Worker:
# Log state transition
if state != old_state:
self.freqtrade.notify_status(f'{state.name.lower()}')
logger.info(f"Changing state to: {state.name}")
if old_state != State.RELOAD_CONFIG:
self.freqtrade.notify_status(f'{state.name.lower()}')
logger.info(
f"Changing state{f' from {old_state.name}' if old_state else ''} to: {state.name}")
if state == State.RUNNING:
self.freqtrade.startup()