Discussion:
[jira] [Created] (LOG4J2-785) The AsyncAppender example has a bug
Ben Pritzker (JIRA)
2014-08-18 18:10:19 UTC
Permalink
Ben Pritzker created LOG4J2-785:
-----------------------------------

Summary: The AsyncAppender example has a bug
Key: LOG4J2-785
URL: https://issues.apache.org/jira/browse/LOG4J2-785
Project: Log4j 2
Issue Type: Documentation
Environment: appenders manual
Reporter: Ben Pritzker
Priority: Minor


On the page: http://logging.apache.org/log4j/2.x/manual/appenders.html

If you look at the AsyncAppender example it has a lower case 'p' in the closing "Pattern"
<Pattern>%d %p %c{1.} [%t] %m%n</pattern>

Should be:
<Pattern>%d %p %c{1.} [%t] %m%n</Pattern>



--
This message was sent by Atlassian JIRA
(v6.2#6252)
Remko Popma (JIRA)
2014-08-18 23:21:18 UTC
Permalink
[ https://issues.apache.org/jira/browse/LOG4J2-785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14101512#comment-14101512 ]

Remko Popma commented on LOG4J2-785:
------------------------------------

You are right, thanks for pointing this out.
To reassure you, our XML parsing logic is case-insensitive, so the example still works.
Post by Ben Pritzker (JIRA)
The AsyncAppender example has a bug
-----------------------------------
Key: LOG4J2-785
URL: https://issues.apache.org/jira/browse/LOG4J2-785
Project: Log4j 2
Issue Type: Documentation
Environment: appenders manual
Reporter: Ben Pritzker
Priority: Minor
Original Estimate: 0.25h
Remaining Estimate: 0.25h
On the page: http://logging.apache.org/log4j/2.x/manual/appenders.html
If you look at the AsyncAppender example it has a lower case 'p' in the closing "Pattern"
<Pattern>%d %p %c{1.} [%t] %m%n</pattern>
<Pattern>%d %p %c{1.} [%t] %m%n</Pattern>
--
This message was sent by Atlassian JIRA
(v6.2#6252)
Remko Popma (JIRA)
2014-09-19 16:53:33 UTC
Permalink
[ https://issues.apache.org/jira/browse/LOG4J2-785?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Remko Popma resolved LOG4J2-785.
--------------------------------
Resolution: Fixed
Fix Version/s: 2.1
Assignee: Remko Popma

Fixed in master in commit d87f7ff02cddaa56566edef1f806f70a4acace68.
Please verify and close.
Post by Ben Pritzker (JIRA)
The AsyncAppender example has a bug
-----------------------------------
Key: LOG4J2-785
URL: https://issues.apache.org/jira/browse/LOG4J2-785
Project: Log4j 2
Issue Type: Documentation
Environment: appenders manual
Reporter: Ben Pritzker
Assignee: Remko Popma
Priority: Minor
Fix For: 2.1
Original Estimate: 0.25h
Remaining Estimate: 0.25h
On the page: http://logging.apache.org/log4j/2.x/manual/appenders.html
If you look at the AsyncAppender example it has a lower case 'p' in the closing "Pattern"
<Pattern>%d %p %c{1.} [%t] %m%n</pattern>
<Pattern>%d %p %c{1.} [%t] %m%n</Pattern>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Loading...