定制 onecode/web-api-logger 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

onecode/web-api-logger

最新稳定版本:1.0.6

Composer 安装命令:

composer require onecode/web-api-logger

包简介

Track the api request per user

README 文档

README

GitHub version GitHub license PHP Version Require Supported Magento Version

This extension is tracking the API request you are getting in your magento installation by user

1. How to install Onecode_WebApiLogger

There are 2 ways to install the application via composer(recommended) or Copy and paste

1.1 Install via composer

composer require onecode/web-api-logger
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy
php bin/magento setup:di:compile

1.2 Copy and paste

If you don't want to install via composer, you can use this way.

  • Download the latest version here
  • Extract master.zip file to app/code/Onecode/WebApiLogger ; You should create a folder path app/code/Onecode/WebApiLogger if not exist.
  • Require Onecode_Base before installation run the command composer require onecode/base or Download the latest. Extract master.zip file to app/code/Onecode/Base ; You should create a folder path app/code/Onecode/Base if not exist.
  • Go to Magento root folder and run upgrade command line to install Onecode_WebApiLogger:
php bin/magento module:enable Onecode_WebApiLogger Onecoode_Base
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy

Run compile if you have your application in Production Mode

php bin/magento setup:di:compile

2. Magento 2 WebApiLogger extension

2.1 Web API Logger

In this guide we will show you how to configure the extension and use it.

Imgur

2.2 Web API Logger settings

Login to the Magento Admin, navigate to Store > Configuration > Onecode Extensions > Web API Logger

2.2.1 General

Imgur

Enabled: Select Yes to activate the module and No to disable it.

Imgur

Clean Up: Set the days you want to clear the log by database. Set 0 to disable it.

Imgur

Accept all HTTP Method: Select Yes to save on logger all the request you are getting or No to select which request you want to monitor

Imgur

Select HTTP Methods: Select which API methods do you want to monitor.

Imgur

Select user you want to track: Select which users request do you want to monitor

Imgur

统计信息

  • 总下载量: 3.89k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-01-30