Updated logging configuration to integrate sentry