Skip Menu |

This queue is for tickets about the POE-Component-Logger CPAN distribution.

Report information
The Basics
Id: 62397
Status: resolved
Priority: 0/
Queue: POE-Component-Logger

Owner: dolmen [...]
Requestors: dolmen [...]

Bug Information
Severity: Important
Broken in:
  • 1.00
  • 1.00_01
  • 1.00_02
  • 1.01
Fixed in: 1.10

Subject: Logger->log does not uses $DefaultLevel synchronously
Download (untitled) / with headers
text/plain 751b
$DefaultLevel is currently (1.00) used when a log event is processed in the queue. However, when Logger->log is called with a scalar argument and DefaultLevel is changed before log events are processed by the Logger session, the log message may not be dispatched at the level expected. I have added a test showing that behavior in the test suite: Workaround: use the HASH form of Logger->log: use: Logger->log({ level => 'error', message => 'Ouch' }); not: { local $POE::Component::Logger::DefaultLevel = 'error'; Logger->log('Ouch'); } -- Olivier Mengué -
Download (untitled) / with headers
text/plain 212b
Patched in branch RT62397-DefaultLevel. Planned for release 1.10. Roadmap: -- Olivier Mengué -
Download (untitled) / with headers
text/plain 116b
Fixed 3 months ago in release 1.10. -- Olivier Mengué -

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

Please report any issues with to