Added logging to loggly setup