JMX support in log4j2

2013-04-02 Thread Remko Popma
I would like to take a stab at implementing JMX support for log4j2. What features would you like to see with regards to JMX? Ideas are welcome!

Re: log files in async module

2013-04-03 Thread Remko Popma
Understood. I'll take a look. Remko On 2013/04/03, at 15:38, Ralph Goers ralph.go...@dslextreme.com wrote: Remko, I just noticed that the log4j-async project is creating log files in the root directory of the project. This is bad practice. Can you modify the tests so that all the log

Re: log files in async module

2013-04-03 Thread Remko Popma
I created LOG4J2-195 and attached a patch for this issue. From: Remko Popma rem...@yahoo.com To: Log4J Developers List log4j-dev@logging.apache.org Sent: Wednesday, April 3, 2013 4:42 PM Subject: Re: log files in async module Understood. I'll take a look

Re: JMX support in log4j2

2013-04-04 Thread Remko Popma
optional at some point that confuses users. For statistics I could imagine things like the total number of events. The number of non-filtered events. The number of events that were directed to a specific Appender, and such. Ralph On Apr 3, 2013, at 2:53 AM, Remko Popma wrote: These all look

Re: JMX support in log4j2

2013-04-05 Thread Remko Popma
that the application will never make use of. Jake On Wed, 3 Apr 2013 07:08:47 -0700 Scott Deboy scott.de...@gmail.com wrote: +1 On Wed, Apr 3, 2013 at 4:35 AM, Gary Gregory garydgreg...@gmail.com wrote: The fewer jars the better IMO. Gary On Apr 3, 2013, at 5:53, Remko Popma rem

Site navigation

2013-04-06 Thread Remko Popma
Does anyone else find the site navigation for the Components confusing? In the left-hand side navigation panel, if you click on one of the Component links (like API, Implementation, ... Log4J Web) it takes you to a page where that component is not highlighted. Instead, Project Information

Re: beta5 release

2013-04-08 Thread Remko Popma
The Async manual pages are not in the PDF, I just noticed. I'll submit a patch. Sent from my iPhone On 2013/04/08, at 9:06, Ralph Goers ralph.go...@dslextreme.com wrote: I have been applying all the Jira issues that have patches. I would like to start the beta5 release by the end of the

Re: Site navigation

2013-04-10 Thread Remko Popma
By the way, Ralph has already committed my first patch for the highlighting (LOG4J2-199-site-navi-improvement.patch). The components patch is an additional improvement, described in the Jira. Remko Sent from my iPhone On 2013/04/10, at 16:58, Remko Popma rem...@yahoo.com wrote: Christian

Re: Maven Group Ids

2013-04-10 Thread Remko Popma
About the mutual exclusivity, would it be an idea to throw an exception from either log4j-slf4j-impl or log4j-to-slf4j when it detects that the other jar is on the classpath? I just proposed a way to do that in  https://issues.apache.org/jira/browse/LOG4J2-204

Re: Maven Group Ids

2013-04-10 Thread Remko Popma
No reason not to have both... From: Gary Gregory garydgreg...@gmail.com To: Log4J Developers List log4j-dev@logging.apache.org; Remko Popma rem...@yahoo.com Sent: Thursday, April 11, 2013 12:00 AM Subject: Re: Maven Group Ids On Wed, Apr 10, 2013 at 10:59

Re: beta5 release

2013-04-11 Thread Remko Popma
I've made good progress with JMX and expect to finish a first cut in the next day or two. This includes server-side components to manage StatusLogger, ContextSelector, LoggerContexts, LoggerConfigs and Appenders. Also included is a simple client GUI allowing users to remotely edit the

Re: Merge log4j-async into log4j-core

2013-04-12 Thread Remko Popma
/13, at 1:51, Remko Popma rem...@yahoo.com wrote: The Disruptor needs Java 6. Internally it uses the sun.misc.Unsafe class. There may be JVMs that do not have this class, although I doubt that is actually the case: many of the java.* classes in the Oracle implementation rely on it. I know

Re: Merge log4j-async into log4j-core

2013-04-12 Thread Remko Popma
the problem. Phew. It's beginning to look like I was paranoid for no reason... Sent from my iPhone On 2013/04/13, at 2:08, Remko Popma rem...@yahoo.com wrote: Hm. Looks like the Dalvik VM used in Android may be missing part of the sun.misc.Unsafe class. Otherwise Google doesn't mention

Re: Merge log4j-async into log4j-core

2013-04-12 Thread Remko Popma
If we do merge async into core, can we do it after beta 5? I'd like to get it out there and get people's feedback... Sent from my iPhone On 2013/04/13, at 2:11, Gary Gregory garydgreg...@gmail.com wrote: The dependency only kicks in when you run the class. We have the same issue in Commoms

Re: Merge log4j-async into log4j-core

2013-04-12 Thread Remko Popma
and removing a jar from one beta to the next. IMO that is ;) Gary On Apr 12, 2013, at 13:32, Remko Popma rem...@yahoo.com wrote: If we do merge async into core, can we do it after beta 5? I'd like to get it out there and get people's feedback... Sent from my iPhone On 2013/04/13

Re: Merge log4j-async into log4j-core

2013-04-12 Thread Remko Popma
The Fast*Appenders don't depend on the disruptor. Sorry for the confusion. I'll see what I can do this weekend regarding submitting a patch for the merge. Just fyi, some of the patches I submitted (LOG4J2-199, LOG4J2-203 and LOG4J2-207) modify files in the log4j-async module. I'm not sure how

Re: [VOTE] Log4j2 2.0-beta5 rc1

2013-04-20 Thread Remko Popma
] Log4j2 2.0-beta5 rc1 This is a vote to release Log4j 2.0-beta5, the seventh release of Log4j 2.0. Changes in this version include: New features: o LOG4J2-207:  Add JMX support. Thanks to Remko Popma.  o LOG4J2-187:  Add tag library. Thanks to Nick Williams.  o LOG4J2-164:  Add methods

Project stats

2013-04-22 Thread Remko Popma
Is there a place to see download, activity and other project stats? The closest thing I could find was http://people.apache.org/~vgritsenko/stats/projects/index.html and none of the logging projects seem to be there. Remko Sent from my iPhone

Re: Project stats

2013-04-23 Thread Remko Popma
/privacy.html Also I can grant access to the analytics account to anybody who's interested, just ask. Unfortunately, it does not track downloads. I did try to get log4php added to the stats page hosted by vgritsenko at some point, but I got no reply. Regards, Ivan On 23 April 2013 04:04, Remko

Re: Project stats

2013-04-23 Thread Remko Popma
.  I don't believe there is any way to track the downloads of the release builds since those are generally done from mirrors.  I've seen various email and svn stats in the past but I don't think there is one for all of the ASF. Ralph  On Apr 22, 2013, at 7:04 PM, Remko Popma wrote

Re: [VOTE] Log4j2 2.0-beta5 rc1

2013-04-23 Thread Remko Popma
in this version include: New features: o LOG4J2-207: Add JMX support. Thanks to Remko Popma. o LOG4J2-187: Add tag library. Thanks to Nick Williams. o LOG4J2-164: Add methods is/setEndOfBatch to LogEvent. Thanks to Remko Popma. o LOG4J2-163: Add support for asynchronous loggers

Re: [ANNOUCMENT] Welcome Remko Popma

2013-04-24 Thread Remko Popma
On Apr 24, 2013, at 12:49 AM, Christian Grobmeier grobme...@gmail.com wrote: Hi all, it is my pleasure to announce to the community that Remko Popma has joined our ranks. He made remarkable contributions to log4j 2 and we all believe he is a valuable member of Apache Logging Services now

Re: [ANNOUNCEMENT] Apache Log4j 2.0-beta5 released

2013-04-25 Thread Remko Popma
Popma. o LOG4J2-187: Add tag library. Thanks to Nick Williams. o LOG4J2-164: Add methods is/setEndOfBatch to LogEvent. Thanks to Remko Popma. o LOG4J2-163: Add support for asynchronous loggers. Thanks to Remko Popma. o LOG4J2-179: Add Logger interface APIs to log at given levels. o Added

Possible to release old versions in Jira?

2013-04-25 Thread Remko Popma
Would it be possible to mark the old versions as Released in Jira? This will update the Road Map and Change Log pages in Jira. It will also make adding new tickets more convenient: the Affected Version dropdown will have the last released version at the top and Fix Version dropdown will have the

Re: Database Appenders

2013-04-25 Thread Remko Popma
I think this is the link Gary is talking about: (from the wiki) Build a NoSQL Appender, maybe with AppScale: http://appscale.cs.ucsb.edu/datastores.html Inspiration came from the log4j1 appender for redis: https://github.com/pavlobaron/log4j2redis Agree with Gary on keeping things simple. Also

Ok to rename AsynchAppender?

2013-04-26 Thread Remko Popma
I would like to rename AsynchAppender to AsyncAppender. In addition I'd like to rename the plugin name for that appender from Asynch to  Async. Reasons for renaming: * consistency with Log4j-1.x and Logback naming * consistency with Log4j-2.0 Async Loggers naming * my personal preference (Asynch

improving the manual pages

2013-04-27 Thread Remko Popma
On the log4j user mailing list I encountered a user who had made a few wrong turns, config-wise, and had trouble getting back on track. One issue was that by default the File appender is buffered but does not flush. So his log file stayed empty and he had trouble figuring out why. Should we

Re: improving the manual pages

2013-04-27 Thread Remko Popma
probably make sense though to have a section that does have examples that clearly calls out the overhead of using them. Ralph On Apr 26, 2013, at 11:04 PM, Remko Popma wrote: On the log4j user mailing list I encountered a user who had made a few wrong turns, config-wise, and had trouble

Re: Restrict JPA classes to specific package?

2013-04-27 Thread Remko Popma
Nick, I think it is possible to restrict access from package A to package B in Eclipse, but this would be IDE-dependent. Not sure if that is good enough for you. (I found this link, which may be outdated:  http://www.eclipsezone.com/eclipse/forums/t53736.html ) An alternative would be to use a

Zero-garbage, off-heap, binary loggers

2013-04-27 Thread Remko Popma
This is something I would like to work on next. Related links: https://bitbucket.org/vladimir.dolzhenko/gflogger/wiki/Home https://groups.google.com/forum/#!forum/mechanical-sympathy (topic: new log library?) Not sure if it will be ready by the time of the Log4j 2.0 GA release, probably not

Re: Zero-garbage, off-heap, binary loggers

2013-04-27 Thread Remko Popma
I will try to contact the people working on the projects below and see if they are interested in collaborating on this. From: Remko Popma rem...@yahoo.com To: Log4J Dev-List log4j-dev@logging.apache.org Sent: Sunday, April 28, 2013 10:47 AM Subject: Zero

Re: Log4j 2 - Error when shutting down Tomcat

2013-04-27 Thread Remko Popma
Do you think this may fix LOG4J2-222 as well? +1 beta6 soon Would like to include manual changes rename AsynchAppender. Can I have 36 hours to make these changes? Sent from my iPhone On 2013/04/28, at 10:52, Ralph Goers ralph.go...@dslextreme.com wrote: I used the sample flume-remote app -

Trivialities

2013-04-28 Thread Remko Popma
Trivialities 1) (note) In o.a.l.l.c.c.p.ResolverUtil line 279  I put the cast back in this line removing the cast broke the build on my machine: //Do not remove the cast on the next line as removing it will cause a compile error on Java 7. final BundleWiring wiring = (BundleWiring)

commit notification

2013-04-28 Thread Remko Popma
commit -m fixed Checkstyle errors (10 paths specified)     Sending         C:/Users/remko/workspace/log4j2-trunk/core/src/main/java/org/apache/logging/log4j/core/jmx/AppenderAdmin.java     Sending        

commit notification

2013-04-28 Thread Remko Popma
commit -m fixed spelling errors C:/Users/remko/workspace/log4j2-trunk/src/site/xdoc/manual/markers.xml C:/Users/remko/workspace/log4j2-trunk/src/site/xdoc/manual/eventlogging.xml C:/Users/remko/workspace/log4j2-trunk/src/site/xdoc/manual/flowtracing.xml     Sending        

Re: commit notification

2013-04-28 Thread Remko Popma
Christian, I didn't know, thanks! Remko From: Christian Grobmeier grobme...@gmail.com To: Log4J Developers List log4j-dev@logging.apache.org; Remko Popma rem...@yahoo.com Sent: Monday, April 29, 2013 3:47 AM Subject: Re: commit notification Remko, do you

Nick, want to be mentioned as contributor in Project Team page?

2013-04-28 Thread Remko Popma
Nick, You contributed the JSP taglib module, so I thought I'd ask. Do you want to be mentioned as a contributor in the Project Team page? Remko

Re: Nick, want to be mentioned as contributor in Project Team page?

2013-04-28 Thread Remko Popma
I'm kind of assuming that everybody else won't mind me asking, I hope that's ok... :-) From: Remko Popma rem...@yahoo.com To: Log4J Dev-List log4j-dev@logging.apache.org Sent: Monday, April 29, 2013 4:18 AM Subject: Nick, want to be mentioned as contributor

Re: Nick, want to be mentioned as contributor in Project Team page?

2013-04-28 Thread Remko Popma
as contributor in Project Team page? Sure. Especially since I'll soon be contributing three database appenders with two NoSQL providers :-). Nick On Apr 28, 2013, at 2:18 PM, Remko Popma wrote: Nick, You contributed the JSP taglib module, so I thought I'd ask. Do you want to be mentioned

Re: Nick, want to be mentioned as contributor in Project Team page?

2013-04-28 Thread Remko Popma
; Remko Popma rem...@yahoo.com Sent: Monday, April 29, 2013 4:31 AM Subject: Re: Nick, want to be mentioned as contributor in Project Team page? This email address is fine. My time zone is America/Chicago. Nick On Apr 28, 2013, at 2:28 PM, Remko Popma wrote: Do you want an email address

Re: Nick, want to be mentioned as contributor in Project Team page?

2013-04-28 Thread Remko Popma
Committed. I put timezone back for you. Pls take a look and just give a shout if you want to change anything. From: Remko Popma rem...@yahoo.com To: Log4J Developers List log4j-dev@logging.apache.org Sent: Monday, April 29, 2013 4:36 AM Subject: Re: Nick, want

[commit] moved classes to helpers package

2013-04-28 Thread Remko Popma
I have moved the Clock interface, ClockFactory class and Clock impl classes  from the core.async package to core.helpers. Updated the manual/async.xml page accordingly. It may be an idea to replace all calls to System.currentTimeMillis() with ClockFactory.getClock().currentTimeMillis(). In the

Re: Restrict JPA classes to specific package?

2013-04-28 Thread Remko Popma
, at some point we could consider making this change to enforce the CheckStyle rules, after they have all been cleaned up. Nick On Apr 27, 2013, at 8:36 PM, Remko Popma wrote: Nick, I think it is possible to restrict access from package A to package B in Eclipse, but this would be IDE

Re: Nick, want to be mentioned as contributor in Project Team page?

2013-04-28 Thread Remko Popma
is on a completely different schedule than you are. :-) N On Apr 28, 2013, at 2:36 PM, Remko Popma wrote: I just moved myself to the committers list and removed the timezone columns as it was taking up too much space. Any preference for showing timezone or not? From

Re: Restrict JPA classes to specific package?

2013-04-28 Thread Remko Popma
if any files have CRLF in them. My $0.02. Nick On Apr 28, 2013, at 4:00 PM, Remko Popma wrote: About CheckStyle: I would like to change the RegexpSingleline rule to allow spaces in javadoc after a '*'. Also, the NewlineAtEndOfFile check seems broken. (http://checkstyle.sf.net

Re: Trivialities

2013-04-28 Thread Remko Popma
configuration in api/pom.xml? (not committed yet) From: Remko Popma rem...@yahoo.com To: Log4J Dev-List log4j-dev@logging.apache.org Sent: Sunday, April 28, 2013 10:02 PM Subject: Trivialities Trivialities 1) (note) In o.a.l.l.c.c.p.ResolverUtil line 279  I put

Re: Nick, want to be mentioned as contributor in Project Team page?

2013-04-29 Thread Remko Popma
is unnecessary (and it's what's REALLY taking up a lot of space), but the Time Zone column can be useful. It's nice to know when someone is on a completely different schedule than you are. :-) N On Apr 28, 2013, at 2:36 PM, Remko Popma wrote: I just moved myself to the committers list and removed

Re: Appenders + Managers + Reconfiguration

2013-04-29 Thread Remko Popma
Nick, slightly off-topic perhaps, but could I pick your brains later on the whole experience of writing a custom log4j2 plugin? (Especially the things that did not go well, or you found counter-intuitive... any tips that would make the road a little smoother for the next guy.) I was thinking

Re: Trivialities

2013-05-01 Thread Remko Popma
I went ahead and committed the change to add forkfalse/fork to the findbugs-maven-plugin configuration in api/pom.xml (revision 1478046) From: Remko Popma rem...@yahoo.com To: Log4J Developers List log4j-dev@logging.apache.org Sent: Monday, April 29, 2013 12

Re: Next release

2013-05-03 Thread Remko Popma
I was thinking of working on issues (LOG4J2-)219, 234, 232. If I do 237 do you think you'll be able to look at the DB appenders? I can look at the DB appenders too, but I don't have a test plan/test env set up yet. Nick, do you have any docs for setting up a test env for each appender? Sent

Re: Trivialities

2013-05-05 Thread Remko Popma
No problem. Maybe we can think of something that works for both of us later. Remko From: Ralph Goers ralph.go...@dslextreme.com To: Log4J Developers List log4j-dev@logging.apache.org; Remko Popma rem...@yahoo.com Sent: Sunday, May 5, 2013 2:42 PM Subject: Re

Re: [VOTE] Log4j2 2.0-beta6 rc1

2013-05-06 Thread Remko Popma
Apologies for messing up with the headers.  I'll set up my IDE to include them by default so that it won't happen again. -Remko From: Ralph Goers ralph.go...@dslextreme.com To: Logging PMC priv...@logging.apache.org; Log4J Developers List

Re: [VOTE] Log4j 2.0-beta6 rc2

2013-05-07 Thread Remko Popma
+1 (non-binding) From: Ralph Goers ralph.go...@dslextreme.com To: Log4J Developers List log4j-dev@logging.apache.org Sent: Tuesday, May 7, 2013 12:52 PM Subject: [VOTE] Log4j 2.0-beta6 rc2 This is a vote to release Log4j 2.0-beta6, the eighth release of

Re: Logo contest?

2013-05-08 Thread Remko Popma
Christian, That is a great idea! Not just to get a nice new logo, but also (more important imho) to attract attention to the new 2.0 version. Marketing yay! How do you want to do this? Do we pick from the submissions, or do we have a second round where people vote for their favorite? I would

Re: Logo contest?

2013-05-08 Thread Remko Popma
, 2013, at 19:34, Remko Popma rem...@yahoo.com wrote: Christian, That is a great idea! Not just to get a nice new logo, but also (more important imho) to attract attention to the new 2.0 version. Marketing yay! How do you want to do this? Do we pick from the submissions, or do we have

Re: Logo contest?

2013-05-08 Thread Remko Popma
I should clarify that this TED talk is the reason I don't like the idea of a veto. Sent from my iPhone On 2013/05/09, at 10:00, Remko Popma rem...@yahoo.com wrote: One of the reddit founders did an interesting (and short) TED talk on this. Search for ted talk reddit mister splashy pants

Re: Messy XML configuration

2013-05-08 Thread Remko Popma
I don't have a strong opinion about this. I kind of like the way it is now, including case-insensitivity, and didn't really notice any messiness. I also liked that I didn't need to put a DOCTYPE... Nick raised a good point about the custom plugins. If we create a tool to generate schema

Re: Logo contest?

2013-05-08 Thread Remko Popma
funny, because that chaos is exactly why I DO think there should be a veto power. :-P Nick On May 8, 2013, at 8:02 PM, Remko Popma wrote: I should clarify that this TED talk is the reason I don't like the idea of a veto. Sent from my iPhone On 2013/05/09, at 10:00, Remko Popma rem

Re: [VOTE] Log4j 2.0-beta6 rc2

2013-05-08 Thread Remko Popma
Nick, good job on finding the issue. Just curious, how does it work with new bugs found during the vote? Are they always show stoppers or only if the new version introduces a bug that did not exist in the old version? Sent from my iPhone On 2013/05/09, at 13:06, Nick Williams

Re: Log4j2 JIRA project needs Taglib component

2013-05-08 Thread Remko Popma
Great! Would you mind also marking the old releases (0.1 - 2.0-beta5) as Released? That would help selecting the right Affected Version and Fix Version when creating a new issue. It would also update the Change Log and Road Map on the Jira LOG4J project page. Sent from my iPhone On

Re: Log4j2 JIRA project needs Taglib component

2013-05-09 Thread Remko Popma
Confirmed. This looks very nice! Thank you! Sent from my iPhone On 2013/05/09, at 15:03, Ralph Goers ralph.go...@dslextreme.com wrote: Done. I also added 2.0-beta7 as a version. Ralph On May 8, 2013, at 10:54 PM, Remko Popma wrote: Great! Would you mind also marking the old

Re: Socket Appender error

2013-05-09 Thread Remko Popma
Hi Tomek, Thank you for your bug report! We will take a look. I've created this Jira ticket to track the issue: https://issues.apache.org/jira/browse/LOG4J2-246 Best regards, Remko Sent from my iPhone On 2013/05/09, at 18:34, Tomek Kaczynski tomek.kaczyn...@gmail.com wrote: Hi All,

Re: Enable formatting in JIRA

2013-05-09 Thread Remko Popma
Does this help? https://confluence.atlassian.com/display/JIRA/Configuring+Renderers Sent from my iPhone On 2013/05/10, at 6:55, Ralph Goers ralph.go...@dslextreme.com wrote: Gary, I think you have all the same permissions that I do. Whatever it is that needs to be changed I don't think we

Re: Enable formatting in JIRA

2013-05-09 Thread Remko Popma
Actually we're on version 5.2 so maybe this is better: https://confluence.atlassian.com/display/JIRA052/Configuring+Renderers Sent from my iPhone On 2013/05/10, at 9:48, Remko Popma rem...@yahoo.com wrote: Does this help? https://confluence.atlassian.com/display/JIRA/Configuring+Renderers

Re: Enable formatting in JIRA

2013-05-09 Thread Remko Popma
, at 11:45 PM, Remko Popma wrote: Are you in the jira-administrators group? Sent from my iPhone On 2013/05/10, at 13:39, Gary Gregory garydgreg...@gmail.com wrote: Hmm, this https://confluence.atlassian.com/display/JIRA052/Specifying+Field+Behaviour says Log in as a user with the JIRA

Re: Site Ideas

2013-05-12 Thread Remko Popma
1. Agree this looks funny.  What I found interesting is that (based on Ralph's link) the developers originally added the time zone in the Actual Time column, intentionally showing local time zone of the viewer. Ironically the intention was to avoid confusion. I'm sure there's a lesson in there

Re: [PROPOSAL] for the text of an email and front page of the site

2013-05-12 Thread Remko Popma
So everyone who subscribes to one of the mailing lists gets a vote? Sounds good to me. I'm okay with Gary's date. I'm sure it'll still take a while to dot the i's and cross the t's...  From: Nicholas Williams nicho...@nicholaswilliams.net To: Log4J

Re: Site Ideas

2013-05-12 Thread Remko Popma
, at 1:59 AM, Remko Popma rem...@yahoo.com wrote: 1. Agree this looks funny. What I found interesting is that (based on Ralph's link) the developers originally added the time zone in the Actual Time column, intentionally showing local time zone of the viewer. Ironically the intention

Re: Presenting on log4j 2.x

2013-05-13 Thread Remko Popma
Christian, That's great! Let me know if you need more detail on Async Loggers or the LMAX Disruptor technology they are based on. Remko Sent from my iPhone On 2013/05/13, at 18:28, Christian Grobmeier grobme...@gmail.com wrote: Hello folks, this is just a short heads up that I am going

Re: Useless parentheses?

2013-05-13 Thread Remko Popma
+1 on extra parens Teachable moments always seem to happen on Friday night when you really want to go home but it. just. doesn't. work... Not a fan. :-) From: Scott Deboy scott.de...@gmail.com To: Log4J Developers List log4j-dev@logging.apache.org Sent:

Re: Site Ideas

2013-05-17 Thread Remko Popma
the whole community.  That said, people will still know that you are the async expert when you are the main person answering questions and fixing issues related to it. Ralph On May 12, 2013, at 1:59 AM, Remko Popma rem...@yahoo.com wrote: 1. Agree this looks funny.  What I found interesting

Re: [VOTE] Log4j 2.0-beta7 rc2

2013-06-03 Thread Remko Popma
I agree with Gary that this test needs some work (or should not be part of the build: a proper performance test needs 5-10 seconds warmup, so these kind of tests end up taking too long to be run together with the functional JUnit tests). I don't think this test does what it is trying to do.

Re: [VOTE] Log4j 2.0-beta7 rc2

2013-06-03 Thread Remko Popma
On Jun 3, 2013, at 7:11 PM, Remko Popma wrote: I agree with Gary that this test needs some work (or should not be part of the build: a proper performance test needs 5-10 seconds warmup, so these kind of tests end up taking too long to be run together with the functional JUnit tests). I

Re: next beta?

2013-07-02 Thread Remko Popma
I'm working on a FAQ page, aiming to complete this weekend. I'm fine with a new beta release this weekend. -Remko From: Nick Williams nicho...@nicholaswilliams.net To: Log4J Developers List log4j-dev@logging.apache.org Sent: Wednesday, July 3, 2013 3:33 AM

Re: logger.printf()

2013-07-05 Thread Remko Popma
Juergen, you can use the printf syntax in Log4j2 already. When obtaining a logger, do this: Logger log = LogManager.getLogger(MyClass.class, new  StringFormatterMessageFactory()); log.debug(Here's a message with an int %d, a double %f and a String %s, myInt, myDouble, myString); as of beta-8

Re: Fast file problem with XML layouts

2013-07-09 Thread Remko Popma
Gary, I'll look at the test (but have to leave for work now). About the name, yes, let's change it. The main differences with the existing FileAppenders are - the Fast versions are always buffered - the Fast versions use a RandomAccessFile instead of a Stream, which was quite a bit faster in my

Re: Final (again) (was Re: r1501104)

2013-07-09 Thread Remko Popma
To be fair to Gary, he has been putting in a lot of effort to try to improve the code quality, and this particular thing is something that was discussed and agreed on in the mailing list. (I am agnostic on the use of final, btw.) Ralph, I understand your annoyance at losing your changes (but it

Re: next beta?

2013-07-10 Thread Remko Popma
I'm fixing LOG4J2-302 now. Should be done in 15 minutes or so. Remko From: Ralph Goers rgo...@apache.org To: Log4J Developers List log4j-dev@logging.apache.org Sent: Wednesday, July 10, 2013 10:28 PM Subject: Re: next beta? OK. I finished all my changes

Re: [VOTE] Log4j 2.0-beta8 rc2

2013-07-12 Thread Remko Popma
+1 From: Gary Gregory garydgreg...@gmail.com To: Log4J Developers List log4j-dev@logging.apache.org Sent: Saturday, July 13, 2013 11:11 AM Subject: Re: [VOTE] Log4j 2.0-beta8 rc2 +1. Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19

Re: Javadoc Links

2013-07-17 Thread Remko Popma
I wouldn't mind having two links (API Javadoc and Core Javadoc) added to the bottom of the Manual section. Remko Sent from my iPhone On 2013/07/18, at 8:56, Nick Williams nicho...@nicholaswilliams.net wrote: The Javadoc on the site is very non-obvious to find (actually it's just downright

Re: Javadoc Links

2013-07-17 Thread Remko Popma
Alternatively we could have a new Javadoc section under the Components section, with links to the Javadoc for each of the components. Sent from my iPhone On 2013/07/18, at 9:27, Gary Gregory garydgreg...@gmail.com wrote: On Jul 17, 2013, at 20:06, Remko Popma rem...@yahoo.com wrote: I

Re: Javadoc Links

2013-07-17 Thread Remko Popma
locally. I'm ready to commit unless anyone has any objections to this approach. Nick On Jul 17, 2013, at 7:30 PM, Remko Popma wrote: Alternatively we could have a new Javadoc section under the Components section, with links to the Javadoc for each of the components. Sent from my iPhone

Re: Javadoc Links

2013-07-17 Thread Remko Popma
. Nick On Jul 17, 2013, at 7:30 PM, Remko Popma wrote: Alternatively we could have a new Javadoc section under the Components section, with links to the Javadoc for each of the components. Sent from my iPhone On 2013/07/18, at 9:27, Gary Gregory garydgreg...@gmail.com wrote

Bridge to other logging APIs

2013-07-17 Thread Remko Popma
Currently we have three different names for things that provide a bridge/adapter from other logging APIs to the Log4j2 implementation: (Commons Logging) Bridge, (Log4j 1.2) API, and (SLF4J) Binding. Would it be a good idea to call them all quot;Bridgequot;? On the web site, components would

Re: Need help with a unit test

2013-07-17 Thread Remko Popma
I#x27;ll take a look at this later. -Remko

Re: Bridge to other logging APIs

2013-07-17 Thread Remko Popma
Small correction: I'd like to rename the log4j-1.2-api jar to log4j-1.2-bridge-2.0.jar (without api in the name). Sent from my iPhone On 2013/07/18, at 11:07, Remko Popma rem...@yahoo.com wrote: Currently we have three different names for things that provide a bridge/adapter from other

Re: JPAAppender error

2013-07-18 Thread Remko Popma
Do you have a stack trace or error message? This does not give us much to go on... Sent from my iPhone On 2013/07/18, at 22:04, JD Buys jdb...@gmail.com wrote: Hi, I have a strange error where if I deploy my application again, the JPA appender stops working. Any ideas why? I am

Re: Bridge to other logging APIs

2013-07-18 Thread Remko Popma
! Preach on brother :) +1 Gary Nick On Jul 17, 2013, at 9:35 PM, Remko Popma wrote: Small correction: I'd like to rename the log4j-1.2-api jar to log4j-1.2-bridge-2.0.jar (without api in the name). Sent from my iPhone On 2013/07/18, at 11:07, Remko Popma rem...@yahoo.com wrote

Re: JPAAppender error

2013-07-18 Thread Remko Popma
What is your classpath? Your app dies while trying to load the resource META-INF/log4j-provider.properties. This resource is in the log4j core jar. Do you have the log4j-core-2.0 jar in the classpath? Remko From: JD Buys jdb...@gmail.com To: Log4J Developers

Re: Multiple thread creation problem with AsyncAppender

2013-07-18 Thread Remko Popma
Does your log4j2.xml also define an AsyncAppender? (Btw, what is a lakh?) Sent from my iPhone On 2013/07/19, at 0:31, Sudharma Puranik sudharma.pura...@gmail.com wrote: I have a log4j2.xml configuration file from which I am getting the Logger, attached is the snapshot. when my logger is

Re: Multiple thread creation problem with AsyncAppender

2013-07-18 Thread Remko Popma
I'd like to see your log4j.xml. Can you raise a Jira ticket and attach it? Sent from my iPhone On 2013/07/19, at 7:34, Remko Popma rem...@yahoo.com wrote: Does your log4j2.xml also define an AsyncAppender? (Btw, what is a lakh?) Sent from my iPhone On 2013/07/19, at 0:31, Sudharma

Re: Bridge to other logging APIs

2013-07-18 Thread Remko Popma
, 2013, at 5:11 PM, Remko Popma wrote: I wasn't thinking of this from the point of view of the user; they will have an app that is coded using one of these logging apis, not all three. Definitely not true! I have both SLF4J and JCL bridges in my applications. My application itself uses

Re: Rename FastFileAppender

2013-07-19 Thread Remko Popma
It's faster than FileAppender. http://logging.apache.org/log4j/2.x/manual/async.html#FileAppender_vs._FastFileAppender From: Paul Benedict pbened...@apache.org To: Log4J Developers List log4j-dev@logging.apache.org Sent: Friday, July 19, 2013 11:20 PM

log4j-dev mail erratic

2013-07-20 Thread Remko Popma
Recently email from the Log4J Developers List has been acting strange: I receive messages out of order, sometimes many hours after they have been sent. I also see replies to emails that I never received... Has anyone else experienced something similar or is it just me? Remko

Re: Console appender with and without ANSI output

2013-07-20 Thread Remko Popma
Gary, Would you mind creating a Jira ticket for this? With the volume of email on the list it drops off the horizon very quickly otherwise... Remko From: Gary Gregory garydgreg...@gmail.com To: Log4J Developers List log4j-dev@logging.apache.org Sent: Sunday,

Re: Bridge to other logging APIs

2013-07-20 Thread Remko Popma
I realize I made a mistake: I would like to rename the log4j-1.2-api jar to log4j-1.2-bridge-2.0.jar (without api in the name).

Re: log4j-dev mail erratic

2013-07-20 Thread Remko Popma
Another gripe I have is that messages from my iPhone are often rejected: Remote host said: 552 spam score (5.2) exceeded threshold (FORGED_YAHOO_RCVD,HTML_MESSAGE,RCVD_IN_BL_SPAMCOP_NET,RCVD_IN_DNSWL_NONE,SPF_PASS ) [BODY] Any idea how to fix this? Sent from my iPhone

Re: Interesting Performance Stats for JDBC/JPA Appenders

2013-07-21 Thread Remko Popma
Performance testing is an interesting subject and can be quite subtle. I recommend using a micro-benchmark framework like Caliper or JMH for this, it is very easy to make a mistake and end up measuring something other than what you intended. I've made mistakes myself and I've read people much

Re: Bridge to other logging APIs

2013-07-21 Thread Remko Popma
I understand your sentiment. I remember being very disappointed at how jul works under the hood. All right, so that diagram will go: [App + JUL] - jul-to-slf4j - slf4j-impl - log4j-2.0-api - log4j-2.0-core Thanks! Sent from my iPhone (Msg below truncated to prevent rejection...) On

Re: Config additions, WAS: Confused: want low latency: do I need BOTH async logger AND async appender??

2013-07-23 Thread Remko Popma
I wouldn't mind doing this but don't know how. Remko Sent from my iPhone On 2013/07/24, at 0:46, Nick Williams nicho...@nicholaswilliams.net wrote: I don't know the answer to this guy's question on the user's list, but it brought up something interesting that we need to look at. Already

  1   2   3   4   5   6   7   8   9   10   >