Fix broken logger when no log to write to
Fix broken logger when no log to write to

jenalgit/pakyow,jphager2/pakyow,rjclardy/pakyow,jenalgit/pakyow,karimmtarek/pakyow,karimmtarek/pakyow,karimmtarek/pakyow,jphager2/pakyow,rjclardy/pakyow,jphager2/pakyow