Skip to content

Commit

Permalink
Align logformat with smarthomehandler
Browse files Browse the repository at this point in the history
  • Loading branch information
fawick committed Jan 27, 2021
1 parent 24a646e commit 034b10f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/smarthome/avmhomeautomation/avmcommon.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ def logMessage(self, level, message):
prefix = "[INFO] "
if level == 2:
prefix = "[ERROR] "
print ('%s: Device: %s AHA Module (actor: %s) %s%s' % (time_string, self.devicenumber, self.switchname, prefix, message), file = f)
print ('%s: (%s) AVM (actor: %s) %s%s' % (time_string, self.devicenumber, self.switchname, prefix, message), file = f)
f.close()
except IOError:
pass
Expand Down

0 comments on commit 034b10f

Please sign in to comment.