Lee, Currently, there's not really a way to do it. The Capistrano::Logger class itself supports an :output option, which can specify either an IO object or a filename, but the primary logger instance is created in Capistrano::Configuration#initialize, and there is not any way to pass options through to that logger instance.
I'd love a patch for that, though. Someone else requested a way to redirect the output via a commandline switch, so a patch would help a bunch to make that happen. - Jamis On May 11, 2007, at 1:06 AM, lee hartley wrote: > > what is the best way to have cap log to a file instead of STDERR or in > addition? i am using it embedded so cant just add " 2>> log"...in the > development env it finds its way into log/fastcgi.crash.log ...but in > the prod. env it seems lost...i would like to control where it goes > > thanks > lee > > > --~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---
