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 UI/UX Design

UI/UX Design by makandra brand

We make sure that your target audience has the best possible experience with your digital product. You get:

  • Design tailored to your audience
  • Proven processes customized to your needs
  • An expert team of experienced designers
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)