Cleaning up log class