Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: Frontier::Client -> Debug to file

by DreamT (Pilgrim)
on Apr 28, 2015 at 08:50 UTC ( [id://1124972]=note: print w/replies, xml ) Need Help??


in reply to Re: Frontier::Client -> Debug to file
in thread Frontier::Client -> Debug to file

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?

Replies are listed 'Best First'.
Re^3: Frontier::Client -> Debug to file
by Anonymous Monk on Apr 28, 2015 at 09:59 UTC
      I've tried it also, but with no luck. Not with select though:
      open(CPOUT, ">&STDOUT"); open(STDOUT, ">>xyz.log") || die "OUTor stdOUT: $!"; # Print stuff close(STDOUT) || die "Can't close STDOUT: $!"; open(STDOUT, ">&CPOUT") || die "Can't restore stdOUT: $!";
      Unfortunately I don't have the possibility to install that module for the moment.

        ...Unfortunately I don't have the possibility to install that module for the moment.

        :) Maybe you can read the source ... I don't see anything obvious but you might have better luck

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1124972]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2024-03-28 08:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found