Giter Site home page Giter Site logo

leftjoinlabs / com.leftjoinlabs.restlog Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 1.0 70 KB

A CiviCRM extension which maintains a log of API calls made through CiviCRM's REST interface

License: Other

PHP 78.17% JavaScript 13.40% HTML 8.44%
civicrm civicrm-extension civicrm-api

com.leftjoinlabs.restlog's Introduction

REST Log

REST Log is a small extension for CiviCRM which maintains a log of API calls made through the REST interface. This is useful if you have a external service which interfaces with CiviCRM through REST, and you would like an audit trail for the actions which the service performs.

Features

  • Log calls to a file and to a database table.
  • View and filter the logged API calls through an interface within CiviCRM.

Usage

  1. When enabled, this extension will immediately begin logging REST API calls to both a file and a database table.
  2. To view the log entries, go to Administer > REST Log (or /civicrm/a/#/restlog).
  3. Also find log entries in a file called REST.log alongside your CiviCRM log file. (e.g. in Drupal installations this is in: sites/default/files/civicrm/ConfigAndLog)
  4. To stop logging, disable the extension.

Known limitations

  • There is not yet an interface for clearing the log entries.

com.leftjoinlabs.restlog's People

Contributors

seancolsen avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

ixiam

com.leftjoinlabs.restlog's Issues

Extension still actively maintained?

Hi @seancolsen, this extension is very useful, but it looks like little bit outdated and not under active maintenance.
Are you still maintaining this? or would you like if we could co-maintain it to updated to latest CiviCRM's standards?

great work!

Fatal error: Class 'Civi' not found

Hello there, i have uploaded the extension but the following error occured when i made a REST call:

Fatal error: Class 'Civi' not found in /path/public_html/sites/default/files/civicrm/custom_ext/com.leftjoinlabs.restlog-master/CRM/RestLog/DAO/RestLog.php on line 112

can you advise what should i do? The API call worked as normal when i disabled the extension. thanks.

My CIVCRM is 4.6.10 on Drupal 7.

Parameters Null

Hello there, i had been installing this extension on some of my server and on one particular one (Wordpress 5.08 CIVICRM 5.10.4 Ubuntu 18) the REST LOG extension records the caller identity but the remaining parameters are NULL. This is the case for the web interface as well as the REST.Log file as well, which says parameters:null. However, the API call still works. Can you advise what is happening and how to see the parameters? Thanks.

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.