Adds rudimentary logging system