{"id":15472992,"url":"https://github.com/martinnicolas/log_manager","last_synced_at":"2026-04-27T23:38:13.327Z","repository":{"id":71476134,"uuid":"442198117","full_name":"martinnicolas/log_manager","owner":"martinnicolas","description":"Log Manager for Rails","archived":false,"fork":false,"pushed_at":"2022-01-12T15:26:59.000Z","size":187,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-28T13:13:36.432Z","etag":null,"topics":["logs","management","rails","ruby","rubyonrails"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/martinnicolas.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-12-27T15:34:17.000Z","updated_at":"2024-06-22T04:25:54.000Z","dependencies_parsed_at":"2023-05-19T12:45:30.834Z","dependency_job_id":null,"html_url":"https://github.com/martinnicolas/log_manager","commit_stats":{"total_commits":18,"total_committers":1,"mean_commits":18.0,"dds":0.0,"last_synced_commit":"40e6fb56438cc46ea19d1ef788524abadf620d69"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/martinnicolas/log_manager","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/martinnicolas%2Flog_manager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/martinnicolas%2Flog_manager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/martinnicolas%2Flog_manager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/martinnicolas%2Flog_manager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/martinnicolas","download_url":"https://codeload.github.com/martinnicolas/log_manager/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/martinnicolas%2Flog_manager/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32360116,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-27T20:07:02.737Z","status":"ssl_error","status_checked_at":"2026-04-27T20:07:00.910Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["logs","management","rails","ruby","rubyonrails"],"created_at":"2024-10-02T02:42:03.924Z","updated_at":"2026-04-27T23:38:13.305Z","avatar_url":"https://github.com/martinnicolas.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LogManager\n\n![log_manager_banner](https://user-images.githubusercontent.com/5104496/148384953-f5a71857-dda9-4cd6-9d8c-e124a554792b.png)\n\n[![Build Status](https://app.travis-ci.com/martinnicolas/log_manager.svg?branch=master)](https://app.travis-ci.com/martinnicolas/log_manager)\n[![Wercker](https://img.shields.io/github/license/mashape/apistatus.svg)](https://opensource.org/licenses/MIT) [![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-2.1-4baaaa.svg)](code_of_conduct.md) \n\nLogManager allows you to check your Rails app log's.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'log_manager', git: 'https://github.com/martinnicolas/log_manager'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install log_manager\n\n## Usage\n\nAdd the following line in config/routes.rb to make your logs availables at /logs.\n\n```ruby\nmount LogManager::Engine =\u003e '/logs'\n```\n\n## Mount using warden (devise)\n\n```ruby\n  admin_constraint = lambda do |request|\n    request.env['warden'].authenticate? and request.env['warden'].user.role?(:sadmin)\n  end\n\n  constraints admin_constraint do\n    mount LogManager::Engine, at: \"/logs\"\n  end\n```\n\n## Mount using devise (method 2)\n\n```ruby\n  authenticate :user, -\u003e(u) { u.role?(:sadmin) } do\n    mount LogManager::Engine, at: \"/logs\"\n  end\n```\n\nChange :user symbol with your devise user. In -\u003e lambda block change u.role?(:sadmin) method with your authorization method Or simply define a role? method in your user model.\n\n![log_manager](https://user-images.githubusercontent.com/5104496/148417234-4e9be767-0e23-45d7-b6cd-55dd7dccf3de.png)\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/martinnicolas/log_manager. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n\n## Code of Conduct\n\nEveryone interacting in the LogManager project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/martinnicolas/log_manager/blob/master/CODE_OF_CONDUCT.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmartinnicolas%2Flog_manager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmartinnicolas%2Flog_manager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmartinnicolas%2Flog_manager/lists"}