Make Your Logs Work for You
The days of logging in to servers and manually viewing log files are over. SolarWinds® Papertrail™ aggregates logs from applications, devices, and platforms to a central location.
View Technology InfoFEATURED TECHNOLOGY
Troubleshoot Fast and Enjoy It
SolarWinds® Papertrail™ provides cloud-based log management that seamlessly aggregates logs from applications, servers, network devices, services, platforms, and much more.
View Capabilities InfoFEATURED CAPABILITIES
Aggregate and Search Any Log
SolarWinds® Papertrail™ provides lightning-fast search, live tail, flexible system groups, team-wide access, and integration with popular communications platforms like PagerDuty and Slack to help you quickly track down customer problems, debug app requests, or troubleshoot slow database queries.
View Languages InfoFEATURED LANGUAGES
TBD - Built for Collaboration Title
TBD - Built for Collaboration Description
TBD LinkBuilt for Collaboration Feature List
Tips from the Team
By engineers, for engineers
View More TipsAdditional Tips
Technical Resources
Educational Resources
Connect with Us
Administrator Guide
Collect Logs
Collect Logs: Apps & Services
Collect Logs: Hosting Services
Collect Logs: Integrations
Manage Logs
Send Logs for Analytics
SolarWinds Users & Orgs
Support and Security
What's New
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.
Log 1 line per request: use a gem like lograge or a Rails initializer like this one to generate far denser log messages, usually with no loss in information detail. For example:
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:
To filter noise, you can filter log messages at the sender or on Papertrail (log filtering). Some ideas what to filter:
config.assets.quiet
. In older Rails versions or Rails apps using a non-Sprockets asset pipeline, try the quiet_assets gem or remote_syslog’s exclude_patterns.ciunas
is not thread-safe (and silencer
is only thread-safe in Rails >= 4.2.6).See:
DEBUG
level. This is much more common than it sounds. DEBUG
is the default when a new Logger
class is instantiated and the level is not changed. Often a new Logger
is instantiated during deployment. Here’s more on Heroku log levels. Also, Rails 5 changes the default production log level from INFO
to DEBUG
.INFO
or WARN
log level in production. By default, Rails 4.2 and prior use INFO
log level in production and DEBUG
in other environments. Rails 5 and after use DEBUG
everywhere. For almost all apps, INFO
is more appropriate in production, and for many apps, WARN
is. Even in situations where one actually wants extreme visibility, Rails’ default DEBUG
output is probably not the right choice; not many administrators need a list of every partial rendered in a given view.Datasheet Help Contact @papertrailapp Legal Documents California Privacy Rights Software Services Agreement Privacy Notice GDPR Resource Center SolarWinds Subscription Center COVID-19 Resource Center
© 2024 SolarWinds Worldwide, LLC. All rights reserved.