https://github.com/metalels/sqlogger
Collect 'ActiveRecord sql query' to monitoring system(s).
https://github.com/metalels/sqlogger
activerecord elasticsearch log logging rails sql
Last synced: about 1 year ago
JSON representation
Collect 'ActiveRecord sql query' to monitoring system(s).
- Host: GitHub
- URL: https://github.com/metalels/sqlogger
- Owner: metalels
- License: mit
- Created: 2017-03-07T01:30:07.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-16T04:00:35.000Z (about 9 years ago)
- Last Synced: 2025-02-18T16:41:32.408Z (about 1 year ago)
- Topics: activerecord, elasticsearch, log, logging, rails, sql
- Language: Ruby
- Size: 115 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: MIT-LICENSE
Awesome Lists containing this project
README
[](MIT-LICENSE)
[](https://badge.fury.io/rb/sqlogger)
[](https://travis-ci.org/metalels/sqlogger)
[](https://codeclimate.com/github/metalels/sqlogger)
[](https://codeclimate.com/github/metalels/sqlogger/coverage)
[](https://codeclimate.com/github/metalels/sqlogger)
# Sqlogger
Collect 'ActiveRecord sql query' to monitoring system(s).

## Dependency
Currently supports Rails **3.1.0** and **upper**.
Tested minor version between **3.1.0** and **5.1.0beta1**
## Installation
Add this line to your application's Gemfile:
```ruby
gem 'sqlogger', group: :development
```
And then execute in Rails Project root directory:
```bash
$ bundle
$ rake sqlogger:install
```
## Usage
edit sqlogger setting file in *config/initializers/sqlogger.rb*.
## Contributing
git-flow.