Code Monkey home page Code Monkey logo

phpro-mage2-module-api-logger's People

Contributors

lykciv avatar maximganses avatar sandrakot avatar stefliekens avatar vrielsa avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

phpro-mage2-module-api-logger's Issues

Do not log specific rest endpoints (E.g checkout related requests)

At this moment we log everything, while it will be better if we can filter out specific kind of rest endpoints to have a cleaner log file. Which contains only logging of integrations instead of internal rest usages.

removal of unused updateData

removal of setup version

add magento 2 to grumphp file

use public const declaration in class SystemConfiguration

In Phpro\APILogger\Config\SystemConfiguration replace:

const XML_LOG_FILE_NAME = 'system/api_log/file';
const XML_LOG_LEVEL = 'system/api_log/level';
const XML_ADD_SLASHES = 'system/api_log/add_slashes';

const LOG_DIR = 'var' . DIRECTORY_SEPARATOR . 'log' . DIRECTORY_SEPARATOR;

To

public const XML_LOG_FILE_NAME = 'system/api_log/file';
public const XML_LOG_LEVEL = 'system/api_log/level';
public const XML_ADD_SLASHES = 'system/api_log/add_slashes';

public const LOG_DIR = 'var' . DIRECTORY_SEPARATOR . 'log' . DIRECTORY_SEPARATOR;

And update the README.md documentation

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.