IMO the proper, and recommended, way to do programmatic configuration is to
implement a Configuration, the end result of which is a tree of Nodes. Doing
that leverages everything we have to offer and is probably simpler to implement
in the end. We should create a sample that shows how to do th
Actually, if the framework detects a "required" violation and logs a
message, it should not call the create() method, so there would no double
logging.
It would then be up to the plugin author to decide what level of validation
he or she wants:
- Use the required annotation attribute and let the
That is why programs that do programmatic configuration should use an API and
not call the components directly
Sent from my iPad
> On Jul 8, 2014, at 6:56 PM, Gary Gregory wrote:
>
> Hm... if the error logging takes place in the plugin framework, then it
> should be removed from the create()
Crap, that does actually make things more complicated! It's almost getting
to the point where bytecode manipulation is starting to sound like a decent
idea at times.
On 8 July 2014 20:56, Gary Gregory wrote:
> Hm... if the error logging takes place in the plugin framework, then it
> should be r
Hm... if the error logging takes place in the plugin framework, then it
should be removed from the create() methods, but then apps that do
programmatic configuration will not benefit from the error logging. We
would then need to either keep the current guard clauses (with no logging)
or remove the
On Tue, Jul 8, 2014 at 11:18 AM, Ralph Goers
wrote:
>
> On Jul 8, 2014, at 7:49 AM, Gary Gregory wrote:
>
> On Tue, Jul 8, 2014 at 10:47 AM, Ralph Goers
> wrote:
>
>>
>> On Jul 8, 2014, at 7:32 AM, Gary Gregory wrote:
>>
>> On Mon, Jul 7, 2014 at 1:44 PM, Ralph Goers
>> wrote:
>>
>>> Well, If
[
https://issues.apache.org/jira/browse/LOG4J2-695?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
SIBISH BASHEER closed LOG4J2-695.
-
log4j2 Custom Logger is working as expected with generated logs in Splunk CIM
standard.
> Custom Lo
[
https://issues.apache.org/jira/browse/LOG4J2-695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14055722#comment-14055722
]
SIBISH BASHEER commented on LOG4J2-695:
---
I agree, the machine might have some other
[
https://issues.apache.org/jira/browse/LOG4J2-695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14055654#comment-14055654
]
Remko Popma edited comment on LOG4J2-695 at 7/9/14 12:43 AM:
-
[
https://issues.apache.org/jira/browse/LOG4J2-695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14055654#comment-14055654
]
Remko Popma edited comment on LOG4J2-695 at 7/9/14 12:40 AM:
-
ance, *filePattern*:
{code}
filePattern="${log.path}/$${date:MMdd}{GMT+0}/%d{MMddHH}{GMT+0}-${sd:type}-${hostName}.%i.log.gz"{code}
produces folders with such names as: *20140708\{GMT+0\}*.
How could I instruct {code}$${date:MMdd}{code} in filePattern to use UTC
time zone?
[
https://issues.apache.org/jira/browse/LOG4J2-704?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Remko Popma reassigned LOG4J2-704:
--
Assignee: Remko Popma
> -Dlog4j.configurationFile no longer accepts relative paths
> --
[
https://issues.apache.org/jira/browse/LOG4J2-519?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Remko Popma reassigned LOG4J2-519:
--
Assignee: Remko Popma
> Custom/Extended Loggers
> ---
>
> K
[
https://issues.apache.org/jira/browse/LOG4J2-704?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14055658#comment-14055658
]
Remko Popma edited comment on LOG4J2-704 at 7/8/14 11:22 PM:
-
[
https://issues.apache.org/jira/browse/LOG4J2-519?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14055663#comment-14055663
]
Remko Popma commented on LOG4J2-519:
Tool to be added to the {{org.apache.logging.log4
[
https://issues.apache.org/jira/browse/LOG4J2-704?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14055658#comment-14055658
]
Remko Popma commented on LOG4J2-704:
This may be related to the changes I made for LOG
[
https://issues.apache.org/jira/browse/LOG4J2-695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14055651#comment-14055651
]
SIBISH BASHEER commented on LOG4J2-695:
---
java -jar microbenchmarks.jar -f 5 -wi 10 -
[
https://issues.apache.org/jira/browse/LOG4J2-695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14055654#comment-14055654
]
Remko Popma commented on LOG4J2-695:
Thanks for confirming the configuration. With mul
[
https://issues.apache.org/jira/browse/LOG4J2-666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14055575#comment-14055575
]
Te L edited comment on LOG4J2-666 at 7/8/14 10:51 PM:
--
"ConfigLocatio
[
https://issues.apache.org/jira/browse/LOG4J2-666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14055575#comment-14055575
]
Te L edited comment on LOG4J2-666 at 7/8/14 10:50 PM:
--
"ConfigLocatio
[
https://issues.apache.org/jira/browse/LOG4J2-666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14055575#comment-14055575
]
Te L commented on LOG4J2-666:
-
"ConfigLocationUri" is an attribute of the log4j2 MBean. It's g
[
https://issues.apache.org/jira/browse/LOG4J2-704?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14055570#comment-14055570
]
Ralph Goers commented on LOG4J2-704:
Is this a standalone app or in a web container?
[
https://issues.apache.org/jira/browse/LOG4J2-703?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14055565#comment-14055565
]
Ralph Goers commented on LOG4J2-703:
To my knowledge no one has ever tested on Android
[
https://issues.apache.org/jira/browse/LOG4J2-704?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14055510#comment-14055510
]
Andy Grove commented on LOG4J2-704:
---
You are correct. This must have been from when I tr
[
https://issues.apache.org/jira/browse/LOG4J2-704?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andy Grove updated LOG4J2-704:
--
Description:
I just upgraded from beta9 to rc2 and my command line applications now fail on
startup.
[
https://issues.apache.org/jira/browse/LOG4J2-703?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14055487#comment-14055487
]
Matt Sicker commented on LOG4J2-703:
It appears that Android does not ship with the {{
Or even hideInLogs
On 8 July 2014 09:27, Gary Gregory wrote:
> What about "hide"?
>
> Gary
>
>
> On Mon, Jul 7, 2014 at 7:32 PM, Remko Popma wrote:
>
>> What about "masked" or "shouldBeMasked"?
>>
>> Sent from my iPhone
>>
>> On 2014/07/08, at 7:58, Matt Sicker wrote:
>>
>> Well, it's more li
[
https://issues.apache.org/jira/browse/LOG4J2-704?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14055391#comment-14055391
]
Gary Gregory commented on LOG4J2-704:
-
That does NOT look like a 2.0-rc2 stack trace.
[
https://issues.apache.org/jira/browse/LOG4J2-704?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gary Gregory updated LOG4J2-704:
Comment: was deleted
(was: That does NOT look like a 2.0-rc2 stack trace.
{{ConfigurationFactory.
[
https://issues.apache.org/jira/browse/LOG4J2-704?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14055390#comment-14055390
]
Gary Gregory commented on LOG4J2-704:
-
That does NOT look like a 2.0-rc2 stack trace.
[
https://issues.apache.org/jira/browse/LOG4J2-704?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andy Grove updated LOG4J2-704:
--
Description:
I just upgraded from beta9 to rc2 and my command line applications now fail on
startup.
Andy Grove created LOG4J2-704:
-
Summary: -Dlog4j.configurationFile no longer accepts relative paths
Key: LOG4J2-704
URL: https://issues.apache.org/jira/browse/LOG4J2-704
Project: Log4j 2
Issue Ty
%i.log.gz"{code}
produces folders with such names as: *20140708\{GMT+0\}*.
How could I instruct {code}$${date:MMdd}{code} in filePattern to use UTC
time zone?
> TimeBasedTriggeringPolicy is not triggeri
[
https://issues.apache.org/jira/browse/LOG4J2-695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14055139#comment-14055139
]
SIBISH BASHEER commented on LOG4J2-695:
---
Yes Remko, did not modify anything and they
[
https://issues.apache.org/jira/browse/LOG4J2-695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14055139#comment-14055139
]
SIBISH BASHEER edited comment on LOG4J2-695 at 7/8/14 5:07 PM:
-
Ok, thanks for the confirm!
Sent from my iPhone
> On 2014/07/09, at 1:41, Gary Gregory wrote:
>
>> On Tue, Jul 8, 2014 at 11:33 AM, Remko Popma wrote:
>> All right then, I'll add it to the core module.
>> Package name "org.apache.logging.log4j.core.tools" ?
>
> Seems OK to me.
>
> Gary
>>
On Tue, Jul 8, 2014 at 11:33 AM, Remko Popma wrote:
> All right then, I'll add it to the core module.
> Package name "org.apache.logging.log4j.core.tools" ?
>
Seems OK to me.
Gary
>
>
> On Mon, Jul 7, 2014 at 11:44 PM, Gary Gregory
> wrote:
>
>> Well, yes, but it feels wrong to fatten up the
All right then, I'll add it to the core module.
Package name "org.apache.logging.log4j.core.tools" ?
On Mon, Jul 7, 2014 at 11:44 PM, Gary Gregory
wrote:
> Well, yes, but it feels wrong to fatten up the API jar with tooling. I
> could see adding it in core though, maybe.
>
> Gary
>
>
> On Mon,
On Jul 8, 2014, at 7:49 AM, Gary Gregory wrote:
> On Tue, Jul 8, 2014 at 10:47 AM, Ralph Goers
> wrote:
>
> On Jul 8, 2014, at 7:32 AM, Gary Gregory wrote:
>
>> On Mon, Jul 7, 2014 at 1:44 PM, Ralph Goers
>> wrote:
>> Well, If there is only one Filter then it would just be declared. If th
On Tue, Jul 8, 2014 at 10:47 AM, Ralph Goers
wrote:
>
> On Jul 8, 2014, at 7:32 AM, Gary Gregory wrote:
>
> On Mon, Jul 7, 2014 at 1:44 PM, Ralph Goers
> wrote:
>
>> Well, If there is only one Filter then it would just be declared. If
>> there is more than one then it should be:
>>
>>
>> …
>
On Jul 8, 2014, at 7:32 AM, Gary Gregory wrote:
> On Mon, Jul 7, 2014 at 1:44 PM, Ralph Goers
> wrote:
> Well, If there is only one Filter then it would just be declared. If there is
> more than one then it should be:
>
>
> …
> …
>
>
> Even in this case since there is only the Composi
On Mon, Jul 7, 2014 at 1:44 PM, Ralph Goers
wrote:
> Well, If there is only one Filter then it would just be declared. If there
> is more than one then it should be:
>
>
> …
> …
>
>
> Even in this case since there is only the CompositeFilter (which contains
> the other Filters) there should
What about "hide"?
Gary
On Mon, Jul 7, 2014 at 7:32 PM, Remko Popma wrote:
> What about "masked" or "shouldBeMasked"?
>
> Sent from my iPhone
>
> On 2014/07/08, at 7:58, Matt Sicker wrote:
>
> Well, it's more like an "isPassword" boolean, really. Like, should this
> attribute be masked or has
[
https://issues.apache.org/jira/browse/LOG4J2-703?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nelson MELINA updated LOG4J2-703:
-
Summary: Log4J 2 on Android : Could not find class
'javax.naming.InitialContext', referenced from
[
https://issues.apache.org/jira/browse/LOG4J2-703?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nelson MELINA updated LOG4J2-703:
-
Description:
Hi guys, i'm trying to use Log4J2 in an Android (19) application and it's not
worki
[
https://issues.apache.org/jira/browse/LOG4J2-703?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nelson MELINA updated LOG4J2-703:
-
Description:
Hi guys, i'm trying to use Log4J2 in an Android (19) application and it's not
worki
[
https://issues.apache.org/jira/browse/LOG4J2-703?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nelson MELINA updated LOG4J2-703:
-
Description:
Hi guys, i'm trying to use Log4J2 in an Android (19) application and it's not
worki
Nelson MELINA created LOG4J2-703:
Summary: Log4J2 on Android : Could not find class
'javax.naming.InitialContext', referenced from method
org.apache.logging.log4j.core.lookup.JndiLookup.lookup
Key: LOG4J2-703
URL
[
https://issues.apache.org/jira/browse/LOG4J2-703?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nelson MELINA updated LOG4J2-703:
-
Description:
Hi guys, i'm trying to use Log4J2 in an Android (19) application and it's not
worki
[
https://issues.apache.org/jira/browse/LOG4J2-660?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14054583#comment-14054583
]
Remko Popma edited comment on LOG4J2-660 at 7/8/14 7:45 AM:
So
50 matches
Mail list logo