You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 with Fargate)
No problem when I run the Rails app on localhost. (all logs shown in STDOUT & log file not created)
Rails.application.configuredo# I can see CloudWatch logs if I comment out the following 2 lines.config.lograge.enabled=trueconfig.lograge.ignore_actions=['MiscController#ping']end
More info:
Rails: 6.1.3
Puma 5.2.1
lograge: 0.11.2
The text was updated successfully, but these errors were encountered:
I've also experienced this, but in my case all the logs showed up in a group after ~1 hour of the app running, possibly after some number of log lines were queued up. Might be the case here too?
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 with Fargate)
No problem when I run the Rails app on localhost. (all logs shown in STDOUT & log file not created)
bin/rails s
docker run
Here's the codes related to logging:
config/environments/development.rb
:config/initializers/lograge.rb
:More info:
The text was updated successfully, but these errors were encountered: