[Ruby] No logs in development environment

Hello,

I would like to see the logs of our Ruby on Rails app on New Relic’s logs dashboard when in development. For now, we can see all the logs of the production environment, but not of the development environment. Can you help me figure out how to get them for the development environment?

We use the Ruby Agent version 6.11.

In the newrelic.yml configuration file, when putting distributed_tracing: enabled: true for development, I have a record of the traces produced in the development environment. But that’s not exactly what we want.

I tried to put monitor_mode: true but without success.

Thank you

Found a solution to my problem. In our configuration, I needed to install the infrastructure agent and make it monitor our development.log file and launch it. Did it and it’s now working.

1 Like