lograge icon indicating copy to clipboard operation
lograge copied to clipboard

An attempt to tame Rails' default policy to log everything.

Results 72 lograge issues
Sort by recently updated
recently updated
newest added

I noticed that calling `redirect` in routes causes log lines that are not handled by Lograge. For example: Route: ```ruby get '/old-page', to: redirect('/new-page') ``` Log output: ```console Redirected to...

Fix https://github.com/roidrage/lograge/issues/258 Sometimes when you do the final render or redirection, it can be halted by a controller callback. With the existing code, it can very hard to understand where...

Fix https://github.com/roidrage/lograge/issues/258 Sometimes when you do the final render or redirection, it can be halted by a controller callback. With the existing code, it can very hard to understand where...

Is there a way to use this gem with sinatra? Thanks

This is https://github.com/roidrage/lograge/pull/303 rebased against master. Not that my feedback from https://github.com/roidrage/lograge/pull/303#issuecomment-1284884046 still applies - it's not an ideal implementation... but it works. It's been in production of a huge...

Hi there, Before I say anything else: I love this gem. It is very, very useful! Next: I've noticed that `lograge` drops some of the data logged from Turbo Stream....

that is, `Rails.logger.info "some logger"` isn't formatted or otherwise touched by Lograge or any of its settings. I wanted to log everything as JSON what I see it that lograge...

I see no logs in CloudWatch after enabling lograge on my Rails app. When I disable lograge, logs are shown in CloudWatch. I don't know the root cause. (AWS ECS...

# Problem https://github.com/roidrage/lograge/issues/255 and https://github.com/roidrage/lograge/issues/272 highlight the problem. To summarize, it's great that lograge by default tacks on fields like 'action', 'controller', 'format', etc onto the controller log entries. But...

The documentation doesn't really make it clear which one I should be using? What are the differences? In fact, in one part of the documentation it says "custom_options below" but...