Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Log-Any-Adapter-Daemontools CPAN distribution.

Report information
The Basics
Id: 110708
Status: resolved
Priority: 0/
Queue: Log-Any-Adapter-Daemontools

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.002000
Fixed in: 0.100002



Subject: Tests fail (with latest Log::Any versions)
t/03-concatenation.t fails, probably only with newer Log::Any versions: # Failed test at t/03-concatenation.t line 21. # 'notice: foo bar # ' # doesn't match '(?^:notice: foobar\n)' # Looks like you failed 1 test of 2. t/03-concatenation.t ...... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/2 subtests Statistical analysis suggests that the problem started with Log::Any 1.03. See: http://analysis.cpantesters.org/solved?distv=Log-Any-Adapter-Daemontools-0.002000#mod%3ALog%3A%3AAny
On Mon Dec 28 10:19:41 2015, SREZIC wrote: Show quoted text
> t/03-concatenation.t fails, probably only with newer Log::Any > versions: > > # Failed test at t/03-concatenation.t line 21. > # 'notice: foo bar > # ' > # doesn't match '(?^:notice: foobar\n)' > # Looks like you failed 1 test of 2. > t/03-concatenation.t ...... > Dubious, test returned 1 (wstat 256, 0x100) > Failed 1/2 subtests > > Statistical analysis suggests that the problem started with Log::Any > 1.03. See: > http://analysis.cpantesters.org/solved?distv=Log-Any-Adapter- > Daemontools-0.002000#mod%3ALog%3A%3AAny
Hello. You're right, and the underlying problem was that David Golden changed the internal structure of Log::Any in a way that I can't preserve the features that this module promises (the minor testcase failure is just a small part of this). Meanwhile, the included "Stdout" logger shipped with Log::Any has been improved to almost make this module obsolete. I have plans to draft up a new API for this module to make it more useful than "Stdout", but have been horribly busy with work for the last year. I was just leaving this module with non-passing tests as a warning that it wasn't working, and because I didn't think anyone was using it. If you're using it and want to see a new version, I'll bump it up on my personal priorities ;-)
The new version is out, with features that are fully compatible with the new Log::Any