Read more

How to silence thin boot messages

Dominik Schöler
August 13, 2015Software engineer at makandra GmbH

Each time thin Show archive.org snapshot boots, it prints a boot message :

Thin web server (v1.6.3 codename Protein Powder)
Maximum connections set to 1024
Listening on localhost:36309, CTRL+C to stop
Illustration web development

Do you need DevOps-experts?

Your development team has a full backlog? No time for infrastructure architecture? Our DevOps team is ready to support you!

  • We build reliable cloud solutions with Infrastructure as code
  • We are experts in security, Linux and databases
  • We support your dev team to perform
Read more Show archive.org snapshot

If you are running parallel tests with thin, this will clutter you output. Disable thin logging with these lines:

# e.g. in features/support/thin.rb

require 'thin'
Thin::Logging.silent = true

Note that this disables all logging in tests. Instead, you also might set a different logger with Thin::Logging.logger = <your logger>. See Thin::Logging Show archive.org snapshot for details.

Posted by Dominik Schöler to makandra dev (2015-08-13 17:30)