Skip Menu |

This queue is for tickets about the Proc-Daemon CPAN distribution.

Report information
The Basics
Id: 66583
Status: resolved
Priority: 0/
Queue: Proc-Daemon

People
Owner: Nobody in particular
Requestors: oleg [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 0.07
Fixed in: (no value)



Subject: Options to append STDOUT and STDERR to the file
In the current version of the module child_STDOUT and child_STDERR overwrites files when daemon starts. So, when my daemon restarts on system reboot or for another reason all logs becomes empty. I think Proc::Daemon needs some options to specify open mode, to get available appending STDOUT and STDERR to the file instead of overwriting it.
I uploaded now a new version 0.08 This should solve your problem.

In your case you can do something like this now:

child_STDERR => '+>>/path/to/daemon/STDERR.file'

modifying the <open> Mode with '+>>'. Please watch the documentation.

On Sun Mar 13 13:42:19 2011, DETI wrote: Show quoted text
> I uploaded now a new version 0.08 This should solve your problem. > > In your case you can do something like this now: > > child_STDERR => '+>>/path/to/daemon/STDERR.file' > > modifying the <open> Mode with '+>>'. Please watch the documentation.
Thanks! Works perfectly.