passenger icon indicating copy to clipboard operation
passenger copied to clipboard

Remove [Thr-1] prefix from logs when running Passenger in threaded mode

Open wilsonsilva opened this issue 6 years ago • 2 comments

Issue report

Question 1: What is the problem?

  • Similarly to https://github.com/phusion/passenger/issues/1915, when running Passenger Enterprise in Threaded mode, my logs are being prepended with [Thr-1], [Thr-2], and so on. This makes it harder for consume the logs. Is there an option to remove these prefixes as well?

Question 2: Passenger version and integration mode:

  • gem 'passenger-enterprise-server', '~> 6.0.3'

Question 3: OS or Linux distro, platform (including version):

  • Heroku-18 | Ubuntu 18.04

Question 4: Passenger installation method:

  • RubyGems + Gemfile

Question 5: Your app's programming language (including any version managers) and framework (including versions):

  • Ruby 2.6.3, Rails 6.0.0

Question 6: Are you using a PaaS and/or containerization? If so which one?

  • Heroku

Question 7: Anything else about your setup that we should know? Procfile:

web: ./bin/passenger-status-service-agent & ./bin/passenger start
--auto
--concurrency-model thread
--disable-log-prefix
--disable-anonymous-telemetry
--max-pool-size $WEB_CONCURRENCY
--min-instances $WEB_CONCURRENCY
--port $PORT
--thread-count $RAILS_MAX_THREADS

wilsonsilva avatar Oct 09 '19 09:10 wilsonsilva

Doesn't happen with --concurrency-model process

wilsonsilva avatar Oct 09 '19 09:10 wilsonsilva

This is not currently supported, I'll mark this as a feature request.

CamJN avatar Oct 09 '19 15:10 CamJN