-
Notifications
You must be signed in to change notification settings - Fork 214
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong default category #519
Conversation
Do you have a test to verify this fix? |
I have check seven times and it is actually has no matter what value is there. So I can write: |
Well, by test I mean the unit test, such as the one we already have: If that is difficult for you, let me know. |
ok. I will do week or two later. Corect me please if I wrong: it seems that 'category' option is useless at all, is not? |
In this case it is log to root category by mistake
I correct myself: enable 'log4perl' is not requred for enable 'Debug', [qw/log4perl/] So I fix error with '0' category and contribute to DOC. use Modern::Perl;
use HTML::Mason::PSGIHandler;
my $app = sub {
my $env = shift;
return [
'200',
[ 'Content-Type' => 'text/plain' ],
[ "Hello World" ],
];
};
use Plack::Builder;
my $b = builder {
enable 'Log4perl';
$app;
} In this program without
You use |
will you merge? |
This PR has a lot more changes by just fixing the default category bug. You could make the code change as minimal, or I will cherry pick only the changes I think is fine, but that will take me a bit of time. |
Oh, I am sorry. Different MR was mixed here. |
Open new MR |
Changes Unknown when pulling cd44fc5 on KES777:master into ** on plack:master**. |
details here
#518