Skip to content

Sink-Logger is an standalone app that logs in the database the http requests to a given url

Notifications You must be signed in to change notification settings

omatech/sink-logger

Repository files navigation

# sink-logger 

Sink-Logger is an standalone app that logs in the database the http requests to a given url

## Features
- log all request into the database with the following info
  - host
  - path
  - method
  - user agent
  - ip
  - parameters (json)
  - timestamp
  - sanitized (flag to know if the parameters have been modified to avoid XSS or sql injection)

- returns a JSON with all this info

## Installation
- Install the project in a folder
- Copy the .env.example to .env
- Change the database settings in .env
- Run the sql script in /sql/sink_logs.sql into your database to create the log table
- composer install or update
- DONE!


About

Sink-Logger is an standalone app that logs in the database the http requests to a given url

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published