Skip Menu |

This queue is for tickets about the Log-Log4perl CPAN distribution.

Report information
The Basics
Id: 110915
Status: resolved
Priority: 0/
Queue: Log-Log4perl

Owner: Nobody in particular
Requestors: abraxxa [...]

Bug Information
Severity: (no value)
Broken in: 1.46
Fixed in: (no value)

Subject: Redundant argument in sprintf warnings in Log::Log4perl::DateFormat with Perl 5.22
Download (untitled) / with headers
text/plain 719b
Redundant argument in sprintf at /home/foo/perl5/perlbrew/perls/22/lib/site_perl/5.22.1/Log/Log4perl/ line 305. The line in question is: My output format is: log4perl.appender.SCREEN "Log::Log4perl::Appender::ScreenColoredLevels" log4perl.appender.SCREEN.layout "Log::Log4perl::Layout::PatternLayout" log4perl.appender.SCREEN.layout.ConversionPattern "%d{yyyy-MM-dd HH:mm:ss.SSS Z} %-5p %X{hostname} (%X{alias}) %m%n" The warning was added to Perl in this commit:
Download (untitled) / with headers
text/plain 211b
Thanks for the report! I went ahead and fixed the problem in and it'll go out with the next release (1.47, hopefully soon).
Download (untitled) / with headers
text/plain 156b
Thanks for the quick fix! I did look at the code but wasn't able to identify the cause. My workaround was a no warnings 'redundant' just before the sprintf.
When will you release a version which includes this fix?
Download (untitled) / with headers
text/plain 175b
On Tue Mar 15 13:51:29 2016, ABRAXXA wrote: Show quoted text
> When will you release a version which includes this fix?
Just released 1.47 to CPAN which contains the fix, sorry for the delay!
Thank you very much!

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to