phpro / mage2-module-api-logger
Extension on API logging
Installs: 30 880
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 4
Forks: 4
Open Issues: 2
Type:magento2-module
Requires
- php: ^7.1|^8.0
- magento/framework: ^100.1|^101.0|^102.0|^103.0
- phpro/mage2-module-logger-handler: ^3.0.0|^4.0.0
Requires (Dev)
README
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