Forum: Ruby Ruby, Apache, FastCGI / how to debug?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
9630ff9880eab934f14f7aa68930e060?d=identicon&s=25 Andras Horvath (log69)
on 2014-02-20 23:55
Hi,

Could anyone kindly help me with the following issue?

I'm running Ruby code with fcgi and Apache. The problem is that the
stderr error logs from my ruby code do not go into the httpd log
(neither ssl_error_log, nor error_log).

System is Fedora 20 64 bit with Ruby 2.1.

I believe it worked until a recent update and do work on my servers, but
not on my dev machine. Almost every Apache setting is at default.

How can I debug error messages from a Ruby code run by FastCGI?

Is there a possibility to redirect STDERR or $stderr withing my app to a
file? Does fcgi catch these redirections of stderr?

Thanks.
This topic is locked and can not be replied to.