Skip Menu |

This queue is for tickets about the Poet CPAN distribution.

Report information
The Basics
Id: 83627
Status: resolved
Priority: 0/
Queue: Poet

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

Bug Information
Severity: Normal
Broken in: 0.13
Fixed in: (no value)



Subject: Documentation has log.category for configuration but Poet::Log uses log.class
The documentation for Poet::Log and Poet::Manual::Configuring both uses a configuration example of the form log: defaults: level: info output: poet.log layout: "%d{dd/MMM/yyyy:HH:mm:ss.SS} [%p] %c - %m - %F:%L - %P%n" category: CHI: level: debug output: chi.log layout: "%d{dd/MMM/yyyy:HH:mm:ss.SS} %m - %P%n" MyApp::Foo: output: stdout However, the code for Poet::Log does not look for 'category' but instead for 'class': my %classes = %{ $log_config{'class'} || {} }; One or the other should change; my proposal would be the documentation so as to not break existing code.
Thanks, fixed in next release