Changed logging to match that used in my other projects