For Programmers: Free Programming Magazines  


Home > Archive > PERL POE > August 2005 > Log4perl and POE









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Log4perl and POE
Abhishek Jain

2005-08-19, 4:27 pm

Hi Friends,
I have read about Log::Log4perl and do wanted to use that in mine POE
programs with trace =1;
But the problem is that when ever I use it with trace the output is at
STDIN I wanted it to be on a file.
I have seen such implementation working that's why I wanted to know how
to do so.
Pl. reply to it I shall be very grateful.
--
Regards
Abhishek jain

Tim Cheadle

2005-08-19, 4:27 pm

> Hi Friends,
> I have read about Log::Log4perl and do wanted to use that in mine POE
> programs with trace =1;
> But the problem is that when ever I use it with trace the output is at
> STDIN I wanted it to be on a file.
> I have seen such implementation working that's why I wanted to know how
> to do so.
> Pl. reply to it I shall be very grateful.


There's no way you're getting output from STDIN. AFAIK, trace output goes
to STDERR. You need to set up Log4perl to capture STDERR.


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com