Add log rolling, improved timestamps to logs

Logs are now in a separate file for each day, with YYYY-MM-DD prepended. In addition, instead of the epoch timestamp in front of each line of logged text, now [HH:MM:SS] is used instead.