25carat/oro-api-logger
Logs all OroCommerce REST API requests and responses for monitoring integrations. Adds a dedicated api_logger channel writing to api-logger-[env].log with configurable minimum level; headers at info, bodies at debug, client errors at error, server errors at critical.
info/debug levels allow teams to analyze latency bottlenecks (e.g., slow API responses, payload size) or middleware issues without modifying core code.debug logs while capturing errors).illuminate/log or Symfony’s Monolog).For Executives:
"This package acts as a ‘black box recorder’ for our OroCommerce API, capturing every request and response to slash debugging time and ensure compliance. For example, if a critical marketplace integration fails, we’ll instantly see the exact payload and error—cutting resolution time by 50% with zero upfront cost. It’s a no-code solution that scales with our API-heavy roadmap (e.g., headless commerce, B2B portals) and aligns with GDPR/PCI-DSS requirements. We’ll start with error-level logs to avoid noise, then enable debug for deep dives as needed. The MIT license lets us modify it if required, and it’s maintenance-free beyond basic configuration."
For Engineering:
*"The 25carat/oro-api-logger is a decorator-based solution that wraps Oro’s RestApiController to log raw HTTP traffic (headers/bodies) to a dedicated channel (api_logger). Key advantages:
debug in staging, error in prod) via parameters.yml.api-logger-[env].log, keeping main logs clean.debug is enabled (mitigate by starting with info/error).error-level logs to validate value before expanding scope."*For Security/Compliance: *"This package provides audit-ready logs for OroCommerce API traffic, capturing:
critical logs.error logs.info level for debugging.
We’ll configure it to exclude sensitive data (e.g., tokens, PII) from logs by default, using environment-specific sanitization rules. Logs can be archived centrally (e.g., AWS S3 with lifecycle policies) to meet GDPR retention requirements without custom development."*How can I help you explore Laravel packages today?