Project

General

Profile

Actions

Bug #10134

open

Standard error and output is ignored in passenger deployment

Added by Lukas Zapletal about 9 years ago. Updated about 8 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Logging
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

We simply throw all messages away. We should redirect them into Rails log instead.

To see the contents, create the following file:

/usr/share/foreman/config/initializers/passenger_hack.rb

with the following content:

std_out = File.new("/tmp/stdout.log","a")
std_err = File.new("/tmp/stderr.log","a")
$stdout.reopen(std_out)
$stderr.reopen(std_err)

Actions #1

Updated by The Foreman Bot almost 9 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/2304 added
  • Pull request deleted ()
Actions #2

Updated by Tomer Brisker about 8 years ago

  • Status changed from Ready For Testing to New
Actions #3

Updated by Dominic Cleal about 8 years ago

  • Category changed from Rails to Logging
Actions

Also available in: Atom PDF