stdout from POE::Component::Server::TCP as daemon

Stefan Parvu <[email protected]> Sun, 24 Jun 2012 11:16:52 +0300
Newsgroups gmane.comp.lang.perl.poe
Message-ID <[email protected]>
Hi folks,

Im experimenting with POE, POE::Component::Server::TCP to implement
a simple daemon (Proc::Daemon) which listens to requests to update
one or many RRD databasefiles. So this daemon will use:

 Proc::Daemon
 POE::Component::Server::TCP
 RRDs

I am playing around: http://www.systemdatarecorder.org/poe1
my application starts fine but I expect to see all STDOUT,
STDERR under the dameon's log. I should read more, I know.

If I defined in my Proc::Daemon::Init the STDOUT and STDERR
like below:
eval { Proc::Daemon::Init( { child_STDOUT => "$slog",
                             child_STDERR => "$slog" } ); };


wouldnt this be ok for my POE::Component::Server::TCP ?

Thanks,
Stefan