#13 updated the logging system to accomodate terminal logging