phpro/mage2-module-api-logger

Extension on API logging

Installs: 32 604

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 4

Forks: 4

Open Issues: 2

Type:magento2-module

3.1.0 2023-04-28 14:12 UTC

This package is auto-updated.

Last update: 2024-11-28 17:31:57 UTC


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