Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 685 Bytes

README.md

File metadata and controls

16 lines (12 loc) · 685 Bytes

Extension on Magento 2 API logger

This module extends the default Magento 2 Rest API logger and will log all requests. Both request and response will be logged. Useful for applications or services consuming the Magento Rest API.

Installation

composer require phpro/mage2-module-api-logger

How to use

By default, both requests and response will be written to api_logger.log The logging can be disabled by changing the log level.

Configuration

We can configure the log file under the store settings according the following path: system/api_log/log_level