Skip to content

Un-Roundfile STDERR - #1

Open
dnorman wants to merge 1 commit into
stevan:masterfrom
dnorman:master
Open

Un-Roundfile STDERR#1
dnorman wants to merge 1 commit into
stevan:masterfrom
dnorman:master

Conversation

@dnorman

@dnorman dnorman commented Jun 4, 2011

Copy link
Copy Markdown

Perhaps I'm being an idiot, but why does FCGI seem to hate STDERR?

This patch allows your to un-roundfile STDERR, because I can see no other way to easily debug code.

Thoughts?
Daniel-

@stevan

stevan commented Jul 6, 2011

Copy link
Copy Markdown
Owner

Daniel,

Sorry it took so long to get back to you on this. Typically FCGI sends the STDERR back to the web-server and it ends up in the error-log. Are you not seeing this behavior? Or is this not working correctly? Basically, could you elaborate more on your use case?

  • Stevan

@dnorman

dnorman commented Jul 6, 2011

Copy link
Copy Markdown
Author

yeah, for some reason though, STDERR didn't seem to come through into the web server's error log, thus the hack.
I was using lighttpd.

@stevan

stevan commented Jul 6, 2011

Copy link
Copy Markdown
Owner

You need to actually put "fastcgi.debug = 1" into your lighttpd config to make it capture STDERR as expected. Perhaps that will solve your issue?

@dnorman

dnorman commented Jul 6, 2011

Copy link
Copy Markdown
Author

aha, you're probably right about that one. None-the-less, it would be nice to have a flag to show STDERR on the console, as does the catalyst fastcgi script with the -e flag

@stevan

stevan commented Jul 6, 2011

Copy link
Copy Markdown
Owner

Yeah I think we can integrate it, would you including some documentation on it? Perhaps even a test?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants