[
https://issues.apache.org/jira/browse/LOG4J2-1153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14945111#comment-14945111
]
Remko Popma edited comment on LOG4J2-1153 at 10/6/15 2:33 PM:
--
Thank you for
[
https://issues.apache.org/jira/browse/LOG4J2-1153?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Remko Popma reassigned LOG4J2-1153:
---
Assignee: Remko Popma
> Unable to define only rootLogger in a properties file.
>
The Builder's charset field is already initialized to Charset.getDefault(),
so I thought we should only overwrite it with a non-null value.
On Tue, Oct 6, 2015 at 4:31 PM, Gary Gregory wrote:
> Not quite right IMO, should be if charset == null then charset =
>
[
https://issues.apache.org/jira/browse/LOG4J2-1153?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ElMehdi TAHRI updated LOG4J2-1153:
--
Description:
I've changed the version of log4j2 from *2.3* to *2.4* in order to load the
[
https://issues.apache.org/jira/browse/LOG4J2-1153?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Remko Popma resolved LOG4J2-1153.
-
Resolution: Fixed
Fix Version/s: 2.4.1
Thank you for reporting this issue!
Looks like
[
https://issues.apache.org/jira/browse/LOG4J2-1153?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ElMehdi TAHRI closed LOG4J2-1153.
-
Works fine (y)
> Unable to define only rootLogger in a properties file.
>
Not quite right IMO, should be if charset == null then charset =
Charset.defaultCharset ().
Gary
Original message
From: rpo...@apache.org
Date: 10/06/2015 06:34 (GMT-08:00)
To: comm...@logging.apache.org
Subject: [1/2] logging-log4j2 git commit: LOG4J2-783 code cleanup:
But what if I call withCharset() once with a non null and then later with a
null? Then you are stuck with the old value and you cannot reset to the default.
Gary
Original message
From: Remko Popma
Date: 10/06/2015 07:35 (GMT-08:00)
To: Log4J
[
https://issues.apache.org/jira/browse/LOG4J2-1152?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Christian Möller updated LOG4J2-1152:
-
Attachment: OneLinePatternConverter.java
Initial implementation. UnitTest is following
[
https://issues.apache.org/jira/browse/LOG4J2-1153?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ElMehdi TAHRI updated LOG4J2-1153:
--
Affects Version/s: 2.4
> Unable to define only rootLogger in a properties file.
>
Christian Möller created LOG4J2-1152:
Summary: Add %oneLine to PatternLayout to mask line breaks for
easier processing of log messages
Key: LOG4J2-1152
URL: https://issues.apache.org/jira/browse/LOG4J2-1152
ElMehdi TAHRI created LOG4J2-1153:
-
Summary: Unable to define only rootLogger in a properties file.
Key: LOG4J2-1153
URL: https://issues.apache.org/jira/browse/LOG4J2-1153
Project: Log4j 2
[
https://issues.apache.org/jira/browse/LOG4J2-1152?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Christian Möller updated LOG4J2-1152:
-
Description: Adding %oneLine\{...\} to PatternLayout will mask line breaks
of enclosed
[
https://issues.apache.org/jira/browse/LOG4J2-1152?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14945342#comment-14945342
]
Gary Gregory commented on LOG4J2-1152:
--
You should be able to do this today with the {{%replace}}
Yes, that is correct. If you want to change the value that the builder uses
you need to specify the value you actually want to use. If you want to
reset to the platform default you would explicitly call
builder.withCharset(Charset.defaultCharset()).
I think that is reasonable.
On Tue, Oct 6, 2015
[
https://issues.apache.org/jira/browse/LOG4J2-1152?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gary Gregory reassigned LOG4J2-1152:
Assignee: Gary Gregory
> Add %oneLine to PatternLayout to mask line breaks for easier
Sounds backward to me, but I won't change it.
Gary
On Tue, Oct 6, 2015 at 8:59 AM, Remko Popma wrote:
> Yes, that is correct. If you want to change the value that the builder
> uses you need to specify the value you actually want to use. If you want to
> reset to the
[
https://issues.apache.org/jira/browse/LOG4J2-1153?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ElMehdi TAHRI updated LOG4J2-1153:
--
Description:
I've changed the version of **log4j2** from 2.3 to 2.4 in order to load the
18 matches
Mail list logo