Made logger functional.
Now outputs entire log to an output file. Planned to make log accessible
from code so that a server UI could see the log in real time.