Giter Site home page Giter Site logo

kohana-logreader's Introduction

Kohana LogReader

A Kohana 3.x module for viewing and searching logs

Easily view and search Kohana log messages on a simple Bootstrap interface.

Copyright © 2014. Licensed under the MIT license.

GITHUB

https://github.com/siloor/kohana-logreader

Please, don't forget to star the repository if you like (and use) the plugin. This will let me know how many users it has and then how to proceed with further development :)

DEMO

http://siloor.com/logreader/demo/?message=&date-from=2014-01-01

Installation

  1. Download this module and add the kohana-logreader folder in to your MODPATH
  2. Enable it in the bootstrap file Kohana::modules(array( 'kohana-logreader' => MODPATH.'kohana-logreader', // LogReader ));
  3. Go to http://your-app-root/logreader
  4. You are done!

Kohana LogReader interface

How to use?

On the Messages interface you can see the daily log messages by default.

Use filters to get what you want

  • Use regular expression in the message field to filter messages
  • Set date filters
  • Select the levels of the log messages

Configuration

You can change the following options

  • limit (default: 40) - Number of messages per page
  • auto_refresh_interval (default: 5) - The interval for auto refresh in seconds
  • store (default: File) - You can easily write your own store if yo use other log solution than the default one. There is an example Store called SQLExample to help you to create your own binding.
  • route (default: logreader) - The route to the LogReader interface - http://your-app-root/logreader
  • static_route (default: logreader/media) - The route to the LogReader static files (it could be a remote url) - http://your-app-root/logreader/media
  • tester (default: FALSE) - Show log message tester button
  • authentication (default: FALSE) - Use HTTP Basic Authetication - Autheticate user by the users array in the config file

Notes

  • If you want to improve, please fork and participate.
  • If you have a suggestion or found a bug, please let me know at - milan.magyar(at)gmail.com

kohana-logreader's People

Contributors

siloor avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

kohana-logreader's Issues

Auto refresh issue

When check "Auto refresh", and if it catch up logs, the message "No message found" persists.

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.