[Catalyst] --background clobbers log
Seth Daniel
catalyst at sethdaniel.org
Wed Feb 8 17:39:14 GMT 2012
On Wed, Feb 08, 2012 at 08:24:03AM +0000, Tomas Doran wrote:
>
> On 7 Feb 2012, at 23:55, Seth Daniel wrote:
>>
>> Anybody else seen this or have any idea what's going on? I'm
>> currently
>> working on a small program that demonstrates this but it may be a day
>> before I can really get to that.
>>
>> Thanks for any assistance.
>
>
> I've seen something similar reported on irc (but an actual bug report -
> or demonstration never followed through).
>
> I can guess what's going on here - which is that --background is closing
> file handles you don't want to to close, this would be the fault of
> MooseX::Demonize (or our use thereof).
>
> This is a core bug (not a bug in the starman script or log4perl) - even
> if you don't get any further, can you report an RT so it doesn't get
> lost?
https://rt.cpan.org/Public/Bug/Display.html?id=74786
I amended my initial report to this list by mentioning I am using
MooseX::Daemonize 0.13.
Not necessarily related but I have noticed another (more minor) problem.
It seems by the time starman starts the @ARGV has either been clobbered
or is not being passed correctly to starman. Looking at the starman
code the $0 should be set to "starman master @ARGV" or "starman worker
@ARGV", but instead it's just "starman master" or "starman worker".
--
seth /\ sethdaniel.org
More information about the Catalyst
mailing list