Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to write to a log #12

Open
natedrake opened this issue Mar 26, 2017 · 0 comments
Open

Ability to write to a log #12

natedrake opened this issue Mar 26, 2017 · 0 comments

Comments

@natedrake
Copy link
Owner

natedrake commented Mar 26, 2017

A feature to be able to write to a persistent log for an admin to review. Doesn't have to be programmatic errors that are logged, but security concerns if someone tries to access unauthorized resources, multiple queries from same source

Log::add('{
    "type":"critical",
    "message": "this is a test log entry"
}');

Logs could possibly be written to a database or to a file stored on the server.

Addition Features
  • Enable access logs that store all requests sent to the server

    GET /index 200 57.32.254.16 2017-03-26T23:59:12 60ms

         Log::access('{"enabled":"true"}')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant