ericwang14 / webutilities

Automatically exported from code.google.com/p/webutilities
0 stars 0 forks source link

Debug/Trace logger output wrong message #53

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.open logger <logger name="com.googlecode.webutilities.filters" level="TRACE" 
/>

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
0.0.8

Please provide any additional information below.

AbstractFilter.java -->

LOGGER.debug("Abstract Filter initialized with: 
{\n\t{}:{},\n\t{}:{},\n\t{}:{},\n\t{}:{}\n\t{}:{},\n\t{}:{},\n" +
            "\t{}:{}\n}",
            INIT_PARAM_IGNORE_URL_PATTERN, ignoreURLPattern,
                INIT_PARAM_ACCEPT_URL_PATTERN, acceptURLPattern,
                INIT_PARAM_IGNORE_MIME_PATTERN, acceptMIMEPattern,
                INIT_PARAM_ACCEPT_MIME_PATTERN, ignoreMIMEPattern,
                INIT_PARAM_IGNORE_UA_PATTERN, ignoreUAPattern,
                INIT_PARAM_ACCEPT_UA_PATTERN, acceptUAPattern,
                INIT_PARAM_IGNORE_QS_PATTERN, ignoreQSPattern,
                INIT_PARAM_ACCEPT_QS_PATTERN, acceptQSPattern
        );

Incorrect:
                INIT_PARAM_IGNORE_MIME_PATTERN, acceptMIMEPattern,
                INIT_PARAM_ACCEPT_MIME_PATTERN, ignoreMIMEPattern,
Should be:
                INIT_PARAM_IGNORE_MIME_PATTERN, ignoreMIMEPattern,
                INIT_PARAM_ACCEPT_MIME_PATTERN, acceptMIMEPattern,

Original issue reported on code.google.com by leo.tu.t...@gmail.com on 6 Aug 2014 at 8:21

GoogleCodeExporter commented 9 years ago
sorry! it is version: 0.0.7

Original comment by leo.tu.t...@gmail.com on 6 Aug 2014 at 8:53

GoogleCodeExporter commented 9 years ago
https://github.com/rpatil26/webutilities/commit/9a55c9050f6aa551aba34253e7295178
e89ba8fe#diff-d41d8cd98f00b204e9800998ecf8427e

Original comment by rr.patil...@gmail.com on 6 Aug 2014 at 12:55

GoogleCodeExporter commented 9 years ago

Original comment by rr.patil...@gmail.com on 6 Aug 2014 at 12:56