P is for Practical | |
PerlMonks |
Re^4: Gettign a logger with Log::Log4perlby nikmit (Sexton) |
on Oct 31, 2016 at 16:04 UTC ( [id://1175023]=note: print w/replies, xml ) | Need Help?? |
Thank you - that indeed worked but only comes to show I failed to provide an adequate example as the problem persisted in my application :) I made an effort to further/better isolate the problem and I think I have a solution. I was starting Dancer2 with a system($plackup $args) command. After looking at the source code of plackup, I started it directly in a fork:
I need to check whether failures to start are captured correctly, but on the logging front its a win, plus it should be a better way to start it anyway I still don't know why it was failing before - I did check that processes are running the same version of perl and @INC is the same when started via system() and directly
In Section
Seekers of Perl Wisdom
|
|