Controlling Verbosity

Rails

By default, Rails logs are extremely verbose. For example, every partial rendered generates a log message, even in production. Most of the verbosity is rarely useful, and often it’s simply noise that has no value at all.

Here are a few recommendations which improve the signal:noise. We’re happy to help implement or tweak any of these.

Improve formatting

1.2.3.4 GET /path 200 OK BlahController#action HTML 938.2 (DB 11.8, View 719.7) {params} {optional params set in flash[:log]}

See:

Reduce noise

To filter noise, you can filter log messages at the sender or on Papertrail (log filtering). Some ideas what to filter:

See:

Control verbosity