Create a logger storing sessions by day

Change console print statements into a logger that outputs to a file.