Spaces:
Runtime error
Runtime error
Commit History
-
♻️ refactor(discord-logger): centralize client ip retrieval
Akshar2325- introduce `getClientIp` method to centralize ip extraction logic - ensure accurate client ip detection by robustly handling `x-forwarded-for` - improve log consistency and maintainability for ip logginga4544dc -
feat(discord-logger): implement api request and response logging
Akshar2325- create discord logger module including service, interceptor, and exception filter - introduce `@LogToDiscord()` decorator to enable selective logging on controllers or methods - send sanitized request/response data to n8n webhooks for success (2xx-3xx) and error (4xx-5xx) statuses - integrate logging into super admin and user authentication, 2fa, profile, and various upload modules - mark requests for logging within guards to ensure consistent behavior 📝 docs(discord-logger): add architecture guide and env configuration - provide a comprehensive architecture document detailing the discord logger system - update .env.example with necessary environment variables for discord loggingd201b18