added logging interceptor.