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

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.
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.