Mike

> Can you provide code to reproduce the problem? I'd be happy to track it
> down.

I haven't been able to reproduce the strife I was having; most use of
signals was failing.

However, there is the obvious.  My perl 5.10 is delivering all OS
signals to the 'main' thread, so the logger in it gets the HUP but not
the others (cloned from the first by the threads mechanism).  A simple
fix is:

Log::Log4perl->init_and_watch("dllog.conf", 'HUP',
                                {preinit_callback => \&propagate_hup} );
sub propagate_hup {
    for my $t (threads->list) { $t->kill('HUP'); }
    return 1;
}

I'll use this and report any trouble.

Regards, John

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
log4perl-devel mailing list
log4perl-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/log4perl-devel

Reply via email to