denis-stepanov/esp-ds-system

Structure application log per date

Closed this issue · 1 comments

Currently full timestamp is issued into the log:

2021/01/13 17:55:47: (31) Mailbox 1 door opened; battery 63%
2021/01/13 17:55:52: (32) Mailbox 1 door closed; battery 64%
2021/01/13 17:56:15: Alarm "Door flipped" acknowledged via Telegram by Denis
2021/01/14 18:54:44: (33) Mailbox 1 door opened; battery 64%
2021/01/14 18:54:51: (34) Mailbox 1 door closed; battery 65%
2021/01/14 18:55:07: Alarm "Door flipped" acknowledged via Telegram by Denis
2021/01/15 14:11:34: (35) Mailbox 1 door opened; battery 65%
2021/01/15 14:12:17: Mailbox 1 door closure event timed out

This leads to duplication of information and is a bit difficult to read. Telegram-like notation, where every day is marked separately and only times are printed, could be more user-friendly.

Done; closing.