When the proc forks it closes out file descriptors. Worked around for now by daemonizing prior to opening anything, but that really should be fixed (it looks easy enough, but not priority right now).
leon@bofh-sider ~/git/eventstreamr-station $ cat /tmp/es-STDOUT.log
Cannot write to '/home/leon/.eventstreamr/eventstreamr.log': Bad file descriptor at /home/leon/perl5/lib/perl5/Log/Log4perl/Appender/File.pm line 267.
Can't close /home/leon/.eventstreamr/eventstreamr.log (Invalid argument) at /home/leon/perl5/lib/perl5/Log/Log4perl/Appender/File.pm line 304 during global destruction.
When the proc forks it closes out file descriptors. Worked around for now by daemonizing prior to opening anything, but that really should be fixed (it looks easy enough, but not priority right now).