DreamT has asked for the wisdom of the Perl Monks concerning the following question:

Hi,

Frontier::Client has the posasibility to use a debug flag:
$server = Frontier::Client->new( 'url' => 'http://betty.userland.com/R +PC2', 'encoding' => 'ISO-8859-1', 'debug' => 1 );
This works, but for logging reasons i'd like to capture the log output to file instead. Is this possible? Maybe theres a general 'Perl way' to capture debug output to file?

Replies are listed 'Best First'.
Re: Frontier::Client -> Debug to file
by Anonymous Monk on Sep 07, 2011 at 12:48 UTC
      Hi, Opening a REALLY old node here:) First of all, thank you for your reply (if you are around to read this).

      Secondly, I've messed around with this (the select method) when I got your reply. It worket great then, but now I have problems to get it to work with FastCGI.
      I know that FastCGI uses STDOUT and STDERR in another way, but I don't know how to solve my problem. Any idea?