We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fc6ba14 commit 887431aCopy full SHA for 887431a
source/inverter_charge_controller.py
@@ -24,7 +24,8 @@ class InverterChargeController(LoggerMixin):
24
def __init__(self):
25
super().__init__()
26
27
- self.log.info("Starting application")
+ started_by_systemd = " by systemd" if "INVOCATION_ID" in os.environ else ""
28
+ self.log.info(f"Starting application{started_by_systemd}")
29
30
self.timezone = TimeHandler.get_timezone()
31
self.sems_portal_api_handler = SemsPortalApiHandler()
0 commit comments