Bug#855894: liblog-log4perl-perl: Warnings with Perl 5.24 and newer when "syswrite" and "utf8" are used together

Marc Ballarin marc.ballarin at 1und1.de
Wed Feb 22 23:18:31 UTC 2017


Package: liblog-log4perl-perl
Version: 1.48-1
Severity: normal
Tags: patch upstream

Dear Maintainer,

Perl 5.24 warns when syswrite is used on file handles with enabled utf8 layer.
This is intentional, see https://rt.perl.org/Public/Bug/Display.html?id=125760

This affects Log::Log4perl::Appender::File when something like the following is used:
...
log4perl.appender.LOGFILE=Log::Log4perl::Appender::File
log4perl.appender.LOGFILE.syswrite=1
log4perl.appender.LOGFILE.utf8=1
...

The upstream bug report and fix is at https://github.com/mschilli/log4perl/issues/78 (https://github.com/mschilli/log4perl/commit/e8d8f6600312670a156399e220998dbd0832915f) or in the freshly released Log4perl 1.49.

Note that the commit and release also contain a minor change of behaviour for the utf8 option:
Previously "...utf8=0" would still enable the utf8 layer, now it won't.

Regards,
Marc



More information about the pkg-perl-maintainers mailing list