Closed TylerRick closed 10 years ago
See also #81 and #65.
Thanks! I think the best solution might be somewhere in the middle of this (which requires the user to set the entire >> logfile 2>> logfile
line) and #65 (which output to a fixed non-configurable log file).
Would you be able to update this to have something like a :resque_log_file
option instead, and if it's present, the command will append to that specified file? If not, let me know and I can pull this in and make the change. Thank you!
That's fine with me. I've updated the pull request.
(I just didn't know if everyone wanted them both logged to the same file or if they wanted to append (>>) rather than replace (>). But I think those are reasonable defaults. :) )
Thank you! Merging this, and I'm going to go ahead and set a default log file of /dev/null
since that has helped others with this situation.
This worked for me to solve the
Errno::EIO: Input/output error - <STDERR>
error I was getting whenever my resque job tried to output to$stderr
.