New build?

2004-08-25 Thread Gary Gregory
I've seen some .java commits in the last couple of days. I can build log4j locally but I am not sure I have all of the dependencies just so which causes me to think that my build might not be building the whole kitchen sink. Can we get other alpha build posted some place? Thanks! Gary

RE: NTEventLogAppender, soon to be removed

2004-09-06 Thread Gary Gregory
Could it perhaps be put in a separate source folder instead of completely removing it from the distro? We do not use the NT Appender now, but if a customer of ours asks for it, I'd like to have it lying around. Thanks, Gary -Original Message- From: Ceki Gülcü [mailto:[EMAIL

RE: Colorized output with ConsoleAppender

2004-09-06 Thread Gary Gregory
According to Ant docs and my experience, the Ant colorized stuff does not work on Windows XP. If get it to work, could you post your solution here or on Ant's list? Thanks. Gary -Original Message- From: Ingo Thon [mailto:[EMAIL PROTECTED] Sent: Monday, September 06, 2004 01:45 To:

Missing scale in SizeBasedTriggeringPolicy#setMaxFileSize

2005-09-28 Thread Gary Gregory
Hello: What is the scale of the API: Missing scale in SizeBasedTriggeringPolicy#setMaxFileSize? http://logging.apache.org/log4j/docs/api-unstable/org/apache/log4j/rolli ng/SizeBasedTriggeringPolicy.html#setMaxFileSize(long) Thanks, Gary

RE: Missing scale in SizeBasedTriggeringPolicy#setMaxFileSize

2005-09-28 Thread Gary Gregory
Nevermind, must be bytes. I was thinking about a time-based appender. Gary -Original Message- From: Gary Gregory [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 28, 2005 8:36 AM To: Log4J Users List; [EMAIL PROTECTED] Subject: Missing scale in SizeBasedTriggeringPolicy

RE: Next alpha or nightly build?

2007-02-14 Thread Gary Gregory
-Original Message- From: Curt Arnold [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 14, 2007 4:13 PM To: Log4J Users List Subject: Re: Next alpha or nightly build? On Feb 14, 2007, at 12:22 PM, Gary Gregory wrote: Hello: When can we get a new alpha build

RE: Question about Log4J and its future...

2007-12-10 Thread Gary Gregory
The log4j release history is available here: http://logging.apache.org/log4j/1.2/changes-report.html Gary Gregory Seagull Software www.seagullsoftware.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, December 10, 2007 2:28 PM To: log4j-user

RE: Log Utility

2008-04-04 Thread Gary Gregory
Also note that log.debug(new String(test)) is the same as log.debug(test); and in general: new String(test) is the same as test Gary -Original Message- From: Robert Pepersack [mailto:[EMAIL PROTECTED] Sent: Friday, April 04, 2008 1:44 PM To: Log4J Users List Subject: Re: Log

RE: log4j v1.2.14 compatible with Java 1.6?

2009-06-10 Thread Gary Gregory
I have been using Log4J 1.2.15 with Sun Java 1.6.0 (all the way to the current release) on XP for a while now, probably a year, no problems to report. Gary -Original Message- From: Lesley Tay [mailto:lesley@macquarie.com] Sent: Tuesday, June 09, 2009 7:46 PM To:

RE: 1.2.16 with broken OSGi Import-Package?

2011-01-14 Thread Gary Gregory
,org.apache.log4j.spi ,org.apache.log4j.varia,org.apache.log4j.xml,org.w3c.dom,org.xml.sax, org.xml.sax.helpers Gary Gregory Senior Software Engineer Rocket Software 3340 Peachtree Road, Suite 820 • Atlanta, GA 30326 • USA Tel: +1.404.760.1560 Email: ggreg...@seagullsoftware.com Web

Re: Log4J doesn't work at all

2012-04-10 Thread Gary Gregory
See http://logging.apache.org/log4j/1.2/manual.html under Default Initialization Procedure Gary On Tue, Apr 10, 2012 at 6:23 AM, tomm tommm...@gmail.com wrote: From: http://hc.apache.org/httpcomponents-client-ga/logging.html I copy pasted log4j.rootLogger=INFO, stdout

Re: log4j2 and Java 7

2012-08-20 Thread Gary Gregory
I set up an Eclipse project by running mvn eclipse:eclipse from the command line is the root of the checkout. Gary On Mon, Aug 20, 2012 at 10:56 AM, Rainer Hirschmiller rainer.hirschmil...@web.de wrote: Hi, Are there nightly builds of log4j2 available? I use Java 7 and ALPHA1 version of

Re: log4j2 and Java 7

2012-08-20 Thread Gary Gregory
You have to install Apache Maven from https://maven.apache.org/ Gary On Mon, Aug 20, 2012 at 11:14 AM, Rainer Hirschmiller rainer.hirschmil...@web.de wrote: Hi, on my Windows installation the mvn command isn't found. Rainer Am 20.08.2012 16:59, schrieb Gary Gregory: I set up

Re: Funny Bbehaviour Wth A Customzed Appender

2012-11-15 Thread Gary Gregory
Hi Malte, You should probably file a Bugzilla issue but I am not sure how much help you'll get here because you are using custom code. There you can attach all the files you want. Can this be reproduced in any way with a stock appender of any type like a rolling file appender? The best way to

Re: what is the different between log4j.configuration and log4j.properties

2013-01-04 Thread Gary Gregory
The .configuration name is a system property, see the -D JVM option. It points to a file name. The .property name is a file name. Gary On Jan 4, 2013, at 6:19, Shitian Long longst...@gmail.com wrote: Hello I am wondering what is the different between log4j.configuration and

Re: log4j Redis appender

2013-01-09 Thread Gary Gregory
Found it, it's called AppScale: http://appscale.cs.ucsb.edu/datastores.html Gary On Wed, Jan 9, 2013 at 11:44 AM, Christian Grobmeier grobme...@gmail.comwrote: On Sun, Jan 6, 2013 at 9:25 PM, Gary Gregory garydgreg...@gmail.com wrote: I read a while back about a JDBC equivalent for NoSQL

Re: beta 4 download site

2013-02-05 Thread Gary Gregory
On Tue, Feb 5, 2013 at 3:21 PM, Christian Grobmeier grobme...@gmail.comwrote: On Tue, Feb 5, 2013 at 9:17 PM, Yogi Nerella ynerella...@gmail.com wrote: Christian, I tried that, but it shows only previous beta version. Hu? It shows the correct version for me. Works for me too. Maybe

Re: log4j2.0 - beta4 MDC.put(String, String) method not found

2013-02-08 Thread Gary Gregory
What file did you download and run to get this? Or what is from a svn tag? Gary On Feb 7, 2013, at 17:16, Yogi Nerella ynerella...@gmail.com wrote: Hi, Any one seeing this error? All log4j.xml files I am using are from the sample code only. Thanks, Yogi log4j:WARN Continuable parsing

Re: thread debug level

2013-03-14 Thread Gary Gregory
(I fixed some missing pretty print for one of the XML documents, in SVN) Gary On Thu, Mar 14, 2013 at 9:59 AM, Ralph Goers ralph.go...@dslextreme.comwrote: This is possible now. Please see http://logging.apache.org/log4j/2.x/manual/filters.html#ThreadContextMapFilter. If you add the user's

Re: Three things I couldn't find on the Log4j 2 Site

2013-03-28 Thread Gary Gregory
On Sun, Mar 24, 2013 at 4:08 AM, Nick Williams nicho...@nicholaswilliams.net wrote: I've been a Log4j 1 user for years and I love it. I'm currently writing a book for Java EE 7 + Spring Framework 4 development and one of my chapters is on application logging. I was going to cover Log4j 1 and

Re: [ANNOUCMENT] Welcome Remko Popma

2013-04-24 Thread Gary Gregory
Welcome aboard Remko! Gary On Apr 24, 2013, at 3:50, 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

Re: Log4j2 UDP socket configure error. Class not found org.apache.logging.log4j.core.impl.Log4jLogEvent$LogEventProxy

2013-04-29 Thread Gary Gregory
Does the error happen from maven or your IDE? Gary On Apr 29, 2013, at 7:43, Remko Popma rem...@yahoo.com wrote: Imesh, It is hard to see what could be the problem based on your description. I created this JIRA ticket for the issue you describe:

Re: Need help: Steps in your INSTALL doc failing

2013-05-13 Thread Gary Gregory
You need the API and core jar files on your classpath for compilation and runtime. Gary On May 13, 2013, at 20:46, Mary Laude marylaudeci...@gmail.com wrote: Hello - I can write, compile, and successfully run a Java program to look at a .jar file and list the classes defined therein, but I

Re: Need help: Steps in your INSTALL doc failing

2013-05-13 Thread Gary Gregory
, that's the only jar file there was. Clearly, I was delusional! I'll go look for the corresponding API and core jar files... Thanks again! On Mon, May 13, 2013 at 6:00 PM, Gary Gregory garydgreg...@gmail.comwrote: You need the API and core jar files on your classpath for compilation

Re: Custom Syslog Format: Appending Exceptions?

2013-05-14 Thread Gary Gregory
Would you like to create a JIRA and contribute a patch? Gary On May 14, 2013, at 4:11, Tomek Kaczynski tomek.kaczyn...@gmail.com wrote: Hi, In my case I created a SyslogWrapperLayout which can wrap any other layout, so I put PatternLayout inside SyslogWrapperLayout. As far as I see

Re: Log4j2: Programmatically setting log4j2 log level

2013-07-22 Thread Gary Gregory
Here is a user story I have at work all the time, which I'd like to be able to do in Log4J 2 when we eventually migrate to it. Our server starts. A couple of days later, something goes wrong. Our user contacts us and we tell them to use our admin console to enable debugging for X and Y. This

Re: Log4j2: Programmatically setting log4j2 log level

2013-07-22 Thread Gary Gregory
to do this using the API is ideal and obviously preferred so that the Core can be a runtime dependency, but as long as we can do it one way or another we're ok. Nick On Jul 22, 2013, at 2:05 PM, Gary Gregory wrote: Here is a user story I have at work all the time, which I'd like to be able

Re: Log4j2: Programmatically setting log4j2 log level

2013-07-23 Thread Gary Gregory
are proposing. Ralph On Jul 22, 2013, at 12:56 PM, Gary Gregory wrote: This seems like an obvious feature and should be part of the public API/feature set (IMO). Gary On Mon, Jul 22, 2013 at 3:08 PM, Nick Williams nicho...@nicholaswilliams.net wrote: We do the _exact same thing_ in our apps

Re: Log4j2: Programmatically setting log4j2 log level

2013-07-24 Thread Gary Gregory
is very much tied to the implementation. Note that none of those are exposed in the API today and you would have to to do what you are proposing. Ralph On Jul 22, 2013, at 12:56 PM, Gary Gregory wrote: This seems like an obvious feature and should be part of the public API/feature set

Re: Log4j2: Programmatically setting log4j2 log level

2013-07-24 Thread Gary Gregory
. Doing things to customize how Appenders, Loggers, Filters, etc work is very much tied to the implementation. Note that none of those are exposed in the API today and you would have to to do what you are proposing. Ralph On Jul 22, 2013, at 12:56 PM, Gary Gregory wrote: This seems

Re: Log4j 1.2.17 creative features usage

2013-07-25 Thread Gary Gregory
Hello, I suggest you take a look at the log4j 2 beta and see how your work compares to version 2. Gary On Jul 25, 2013, at 5:54, Xiaotong ZHANG zhangxiaotong...@gmail.com wrote: Hello everybody, I’m the new in the mailing list J We have already developed our own matured log framework

Re: Connection leak with JDBCAppender

2013-07-26 Thread Gary Gregory
The approach currently implemented sounds good to me. Nick, can you document the appender's behavior to avoid further confusion? Thank you, Gary On Jul 26, 2013, at 14:32, Nick Williams nicho...@nicholaswilliams.net wrote: Yes, this is the intended behavior, and a false-positive on the part

Re: async logger on slow single core env performs 50% worse than log4j v1

2013-07-26 Thread Gary Gregory
Should we report a warning if async features are enabled and java reports a CPU count of 1? Gary On Jul 26, 2013, at 17:56, SMITH, CURTIS cs0...@att.com wrote: LOL well that's obvious now. :) It was more a case of wishful thinking and why not give it a try.But it's still odd that my

Re: Example of Log4j ObjectRenderer

2013-07-26 Thread Gary Gregory
I would focus on version 2 if I were you because v1 is in maintenance mode. Gary On Jul 26, 2013, at 5:59, Xiaotong ZHANG zhangxiaotong...@gmail.com wrote: Hello all, Can anybody give me an example of ObjectRenderer configuration - I mean how to configuer ObjectRenderer to appender (or sth

Re: [log4j2] java.lang.NullPointerException: No Configuration was provided

2013-08-02 Thread Gary Gregory
Does any of this belong in the 'extending log4j' section of the manual? The Javadoc? Gary On Fri, Aug 2, 2013 at 8:30 AM, Christian Grobmeier grobme...@gmail.comwrote: Hi, I looked at it (Simone provided me a patch with the current state of work). You need to override this in the

Re: [log4j2] java.lang.NullPointerException: No Configuration was provided

2013-08-02 Thread Gary Gregory
On Fri, Aug 2, 2013 at 5:51 PM, Ralph Goers ralph.go...@dslextreme.comwrote: We definitely need more examples. Creating some sample code might also spur us to simplify APIs where we can. I bet! That's a great idea. Gary Ralph On Aug 2, 2013, at 2:38 PM, Gary Gregory wrote: Does any

Re: [log4j2] java.lang.NullPointerException: No Configuration was provided

2013-08-02 Thread Gary Gregory
On Fri, Aug 2, 2013 at 5:56 PM, Gary Gregory garydgreg...@gmail.com wrote: On Fri, Aug 2, 2013 at 5:51 PM, Ralph Goers ralph.go...@dslextreme.comwrote: We definitely need more examples. Creating some sample code might also spur us to simplify APIs where we can. I bet! That's a great idea

Re: Log4j2: Programmatically setting log4j2 log level

2013-08-14 Thread Gary Gregory
On Wed, Jul 24, 2013 at 12:22 PM, Gary Gregory garydgreg...@gmail.comwrote: On Mon, Jul 22, 2013 at 5:59 PM, Ralph Goers ralph.go...@dslextreme.comwrote: Well, you can actually do that. It is just not my number one recommendation :-) I'm pretty sure I have answered how to do that a few

Re: BaseConfiguration ignores custom Lookup plugins?

2013-08-16 Thread Gary Gregory
On Fri, Aug 16, 2013 at 6:21 PM, David Nault david.na...@criticalpath.netwrote: Hi All, We're using Log4j in a webapp and are looking at migrating to Log4j 2. We'd like to continue writing our log files to a location under the webapp's context root -- that is, under the directory returned

Re: BaseConfiguration ignores custom Lookup plugins?

2013-08-16 Thread Gary Gregory
On Fri, Aug 16, 2013 at 7:54 PM, Gary Gregory garydgreg...@gmail.comwrote: On Fri, Aug 16, 2013 at 6:21 PM, David Nault david.na...@criticalpath.net wrote: Hi All, We're using Log4j in a webapp and are looking at migrating to Log4j 2. We'd like to continue writing our log files

Re: Log4j2: Column casting in JDBCAppender

2013-08-22 Thread Gary Gregory
On Thu, Aug 22, 2013 at 6:32 PM, Nick Williams nicho...@nicholaswilliams.net wrote: Well we don't need what's currently provided with those legacy classes, because a different approach was taken with this JDBCAppender to handle ID columns. I have several problems with this approach: 1)

Re: Using the SLF4J Bridge

2013-09-03 Thread Gary Gregory
The tests works for me: --- T E S T S --- Running org.apache.syncope.core.connid.PasswordGeneratorTest Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.865 sec - in

Re: Using the SLF4J Bridge

2013-09-04 Thread Gary Gregory
On Wed, Sep 4, 2013 at 5:31 AM, Francesco Chicchiriccò ilgro...@apache.orgwrote: On 04/09/2013 09:10, Francesco Chicchiriccò wrote: On 03/09/2013 22:19, Gary Gregory wrote: The tests works for me: [...] My set up: Apache Maven 3.0.5 (**r01de14724cdef164cd33c7c8c2fe1**55faf9602da; 2013

Re: Using the SLF4J Bridge

2013-09-04 Thread Gary Gregory
throwables. It's a bit like going fishing... Gary On Wed, Sep 4, 2013 at 8:19 AM, Francesco Chicchiriccò ilgro...@apache.orgwrote: On 04/09/2013 14:14, Gary Gregory wrote: [...] Update: on Linux, with OpenJDK 6 / Oracle JDK6 everything works fine. With Oracle JDK 7 everything is fine as well

Re: Using the SLF4J Bridge

2013-09-04 Thread Gary Gregory
and forth on that method. I think there might be a newer OpenJDK release (40?) that fixes the problem. Sent from my iPad On Sep 4, 2013, at 6:19 AM, Francesco Chicchiriccò ilgro...@apache.org wrote: On 04/09/2013 14:14, Gary Gregory wrote: [...] Update: on Linux, with OpenJDK 6

Re: FastRollingFile with DefaultRolloverStrategy not removing old log files

2013-09-12 Thread Gary Gregory
Can you checkout the trunk code, build it and test it with your case? Gary On Wed, Sep 4, 2013 at 7:35 AM, Ric Searle ric.sea...@yellowbrick-tracking.com wrote: Hi, I'm evaluating beta8, with the following appender defined... FastRollingFile name=SQL-FILE

Re: [ANNOUNCEMENT] Apache Log4j 2.0-beta9 released

2013-09-26 Thread Gary Gregory
On Thu, Sep 26, 2013 at 10:01 AM, Roland w...@ids.de wrote: hello Ralph, ...and what about the classloader and package export issues in OSGi containers? Is there a schedule for a fix? The idea is that we cleared the decks of a _lot_ of bug fixes and some features for beta9. Now that we've

Re: [ANNOUNCEMENT] Apache Log4j 2.0-beta9 released

2013-09-27 Thread Gary Gregory
to install and start all bundles before you can access them. With fragmented bundles they are just there. Regards Roland Gary Gregory-4 wrote [...] It's not clear to me that we have the OSGi architecture settles with the use of bundle fragments instead of plain bundles. It would be nice

Re: log4j 2 official release date

2013-09-27 Thread Gary Gregory
Hello, There is no official release date. My guess is a couple of months, it could be one, it could be three. Gary On Fri, Sep 27, 2013 at 11:07 AM, Jingdong Sun jind...@us.ibm.com wrote: Can anyone tell me when the log4j 2 official release will be available? Thanks. Jingdong Sun

Re: [ANN] Remko Popma joined the Apache Logging PMC

2013-09-28 Thread Gary Gregory
Congratulations and welcome aboard Remko! Gary On Sep 28, 2013, at 14:09, Christian Grobmeier grobme...@gmail.com wrote: Dear all, I am very happy that Remko Popma accepted our invitation to join the Apache Logging PMC. Best regards, Christian

Re: log4j 2 official release date

2013-09-30 Thread Gary Gregory
So you would have one bundle for each appender? Gary On Mon, Sep 30, 2013 at 9:17 AM, Roland w...@ids.de wrote: It will not really help you, if required bug fixes have not been implemented yet. BTW, I gave suggestions, but I believe no one was interested in. Package-resolution in OSGi is

Re: epoch time format for logging

2013-09-30 Thread Gary Gregory
Hello Ed, This is what Log4j 2 can do now WRT to time stamp formatting: https://logging.apache.org/log4j/2.x/manual/layouts.html#PatternLayout When you say epoch time, do you mean simply that you would like to use the result of java.lang.System.currentTimeMillis() ? Gary On Mon, Sep 30, 2013

Re: epoch time format for logging

2013-10-01 Thread Gary Gregory
I create a JIRA to track possible solutions: https://issues.apache.org/jira/browse/LOG4J2-415 I have attached two different solutions in a patch file. Gary On Mon, Sep 30, 2013 at 11:33 PM, Gary Gregory garydgreg...@gmail.comwrote: Hello Ed, This is what Log4j 2 can do now WRT to time

Re: epoch time format for logging

2013-10-02 Thread Gary Gregory
On Tue, Oct 1, 2013 at 1:08 PM, Gary Gregory garydgreg...@gmail.com wrote: I create a JIRA to track possible solutions: https://issues.apache.org/jira/browse/LOG4J2-415 I have attached two different solutions in a patch file. I reworked the code in the date converter solution to be more OO

Re: epoch time format for logging

2013-10-03 Thread Gary Gregory
YW! Gary On Oct 3, 2013, at 1:55, Edward Peschko horo...@gmail.com wrote: Gary, Thanks for this - it will be very, very useful for our project. Ed On Wed, Oct 2, 2013 at 7:53 AM, Gary Gregory garydgreg...@gmail.com wrote: On Tue, Oct 1, 2013 at 1:08 PM, Gary Gregory garydgreg

Re: Log4j2 Appender attributes with strict xml config

2013-10-14 Thread Gary Gregory
Alexander , XML validation against the XML Schema is not fully baked because the Log4j 2 XML Schema is incomplete. Due to the current dynamic nature of the configuration file (it's schema is tied to the Java code and the annotations used), we need to generate the XML Schema based on these

Re: Log4j2 Appender attributes with strict xml config

2013-10-14 Thread Gary Gregory
-strict version. User supplied types would be impossible then, unless they are defined as a generic type in the schema which allows for KeyValuePairs or such (like I did in the edited schema below). Best Regards, Alex -Ursprüngliche Nachricht- Von: Gary Gregory

Re: Log4j2 Appender attributes with strict xml config

2013-10-14 Thread Gary Gregory
On Mon, Oct 14, 2013 at 11:10 AM, Ralph Goers ralph.go...@dslextreme.com wrote: On Oct 14, 2013, at 7:31 AM, Gary Gregory garydgreg...@gmail.com wrote: The current idea I have is that the XML Schema would reflect exactly the code that is running. We should start with that. AFAIK, the current

RE: Question regarding Log4J 2

2013-11-11 Thread Gary Gregory
It feels like we are pretty close. Maybe a month, maybe two.  Gary Original message From: anuj kumar anuj.gandh...@gmail.com Date:11/11/2013 07:32 (GMT-05:00) To: log4j-user@logging.apache.org Subject: Question regarding Log4J 2 Hi, I am planning to use Log4J 2 in my

Re: Print logging component name

2013-11-21 Thread Gary Gregory
The manual starts here: https://logging.apache.org/log4j/2.x/manual/index.html Gary On Thu, Nov 21, 2013 at 7:24 AM, Mayur Patil ram.nath241...@gmail.comwrote: Thanks Remko for reply. Could please redirect me to some of them ?? that would be a great help. *--* *CheersMayur* --

Re: log4j2 and log4j1.x conflicts with Kafka

2013-11-25 Thread Gary Gregory
David, You should not have both log4j 1 and 2 on the classpath. See: - https://logging.apache.org/log4j/2.x/manual/migration.html - https://logging.apache.org/log4j/2.x/log4j-1.2-api/index.html Gary On Mon, Nov 25, 2013 at 1:22 PM, David KOCH dk...@ezakus.com wrote: Hello, I wrote a

Re: Modify how log4J takes location from the stack

2013-11-27 Thread Gary Gregory
Well, I think this would require either for you to compute the location yourself, or, provide a patch to change Log4j to be able to parametrize it and surface it to the API. Gary On Wed, Nov 27, 2013 at 9:48 AM, Avi Zohary avi.zoh...@oracle.com wrote: Hey everyone. I'm looking into creating

RE: Any roadmap date for 2.0?

2013-12-03 Thread Gary Gregory
I would be ok with another release, rc or beta the name is debatable, sooner rather than later. I'm not sure what the other committees are doing around the holidays, but it's usually a busy time for folks in the US and elsewhere I imagine.  Gary Original message From:

Re: Log4j2 databaseAppender does not write to the database. It was working before!

2013-12-06 Thread Gary Gregory
no longer work and should be modified to use the (Rolling)RandomAccessFile element. Fixes LOG4J2-317 http://issues.apache.org/jira/browse/LOG4J2-317. Gary On Fri, Dec 6, 2013 at 11:01 AM, Oswaldo Caballero osw...@gmail.com wrote: On 13-12-06 10:51 AM, Gary Gregory wrote: Can you try

Re: Log4j2 databaseAppender does not write to the database. It was working before!

2013-12-06 Thread Gary Gregory
On Fri, Dec 6, 2013 at 11:35 AM, Oswaldo Caballero osw...@gmail.com wrote: On 13-12-06 11:08 AM, Gary Gregory wrote: Please take a look at the change log: https://logging.apache.org/log4j/2.x/changes-report.html#a1.0-alpha1 Specifically, note:Renamed FastFileAppender

Re: DailyRollingFileAppender

2013-12-09 Thread Gary Gregory
Alec, We are not focusing on version 1 any longer. You should consider using version 2 instead. Gary On Mon, Dec 9, 2013 at 12:46 PM, Tomcat Random tomcat.ran...@gmail.comwrote: Log4j version 1.2.17 From the docs: DailyRollingFileAppender has been observed to exhibit synchronization

Re: What is your release time frame?

2013-12-16 Thread Gary Gregory
Michaelm We are a volunteer-based organization and as such each of us has availability come and go. There is no hard release date but I think it is safe to say that sooner rather than later is a general consensus. Since 2.0 will be a big reboot of the Log4j franchise, we also want to make sure we

Re: What is your release time frame?

2013-12-17 Thread Gary Gregory
the good work. We eagerly anticipate the official release. Thanks for the quick response! Michael From: Gary Gregory [garydgreg...@gmail.com] Sent: Monday, December 16, 2013 6:38 PM To: Log4J Users List Subject: Re: What is your release

Re: Log files rename failed

2014-01-21 Thread Gary Gregory
On Tue, Jan 21, 2014 at 9:42 PM, Steven Yang kenshin...@gmail.com wrote: I have observed a file-rename issue while using rolling appender. I am using log4j2-beta9. This main reason I switched to log4j2 is because the same problem occurs in log4j 1.x and the only way to fix it is to modify the

Re: Migrating from log4j 1.2 to log4j 2

2014-01-31 Thread Gary Gregory
method to use. We may want to change that comment though... On Friday, January 31, 2014, Gary Gregory garydgreg...@gmail.comjavascript:_e(%7B%7D,'cvml',' garydgreg...@gmail.com'); wrote: I have finally created a separate sandbox for our app server to test porting from log4j1 to 2

Re: rolling in log4j2

2014-02-01 Thread Gary Gregory
Perhaps a different approach would be to have a separate clean up object that you give a pattern and an age. This would let you separate the rollover concern from the clean up. Gary On Sat, Feb 1, 2014 at 11:02 PM, Remko Popma remko.po...@gmail.com wrote: I see. Basically, you are trying to

Re: rolling in log4j2

2014-02-02 Thread Gary Gregory
to org.apache.logging.log4j.core.appender.rolling.action Thoughts? Gary On Sunday, February 2, 2014, Gary Gregory garydgreg...@gmail.com wrote: Perhaps a different approach would be to have a separate clean up object that you give a pattern and an age. This would let you separate

Re: Logo contest: nominate your favorite logo

2014-02-03 Thread Gary Gregory
Wow, our wiki is lame. Does each wiki need new user account, or is my account an all-apache wiki account that needs to be added to each wiki I want to play with? Please add GaryGregory Gary On Sun, Feb 2, 2014 at 5:21 AM, Christian Grobmeier grobme...@gmail.comwrote: Hi all, please show

Re: Logo contest: nominate your favorite logo

2014-02-03 Thread Gary Gregory
On Mon, Feb 3, 2014 at 1:11 PM, Christian Grobmeier grobme...@gmail.comwrote: On 3 Feb 2014, at 14:40, Gary Gregory wrote: Wow, our wiki is lame. Does each wiki need new user account, or is my account an all-apache wiki account that needs to be added to each wiki I want to play

Re: Logo contest: nominate your favorite logo

2014-02-03 Thread Gary Gregory
Now it works. TY. Gary On Mon, Feb 3, 2014 at 4:40 PM, Christian Grobmeier grobme...@gmail.comwrote: On 3 Feb 2014, at 22:28, Gary Gregory wrote: On Mon, Feb 3, 2014 at 1:11 PM, Christian Grobmeier grobme...@gmail.com wrote: On 3 Feb 2014, at 14:40, Gary Gregory wrote: Wow, our wiki

Re: rolling in log4j2

2014-02-03 Thread Gary Gregory
that generates the action plan. Sorry if this all sounds a bit vague atm. Need to think about this some more... On Sunday, February 2, 2014, Gary Gregory garydgreg...@gmail.com wrote: Perhaps a different approach would be to have a separate clean up object that you give a pattern and an age

Re: Logo contest: nominate your favorite logo

2014-02-15 Thread Gary Gregory
Let's not change the rules in the middle of the game here... Original message From: Christian Grobmeier grobme...@gmail.com Date:02/15/2014 13:21 (GMT-05:00) To: Log4J Developers List log4j-...@logging.apache.org,Log4J Users List log4j-user@logging.apache.org Subject: Re:

Re: Logo contest: nominate your favorite logo

2014-02-16 Thread Gary Gregory
:14, Gary Gregory wrote: Let's not change the rules in the middle of the game here... Original message From: Christian Grobmeier grobme...@gmail.com Date:02/15/2014  13:21  (GMT-05:00) To: Log4J Developers List log4j-...@logging.apache.org,Log4J Users List log4j-user

Re: Logo contest: nominate your favorite logo

2014-02-16 Thread Gary Gregory
...@gmail.comwrote: I think it was me who was thinking wrong, sorry. Then let's start the round-1-vote coming thursday. Cheers Christian On 16 Feb 2014, at 15:53, Gary Gregory wrote: The wiki lists more than 10. What am I missing? G Original message From

Re: Logo contest: nominate your favorite logo

2014-02-16 Thread Gary Gregory
from my iPhone On Feb 16, 2014, at 4:28 PM, Gary Gregory garydgreg...@gmail.com wrote: Also, why not let people vote on all the logos, on the ML? The wiki step seems to be like an exercise... the original plan called for a two rounds for votes, presumably on the ML. Why wait until Thursday

Re: [ANNOUNCEMENT] Welcome Matt Sicker

2014-03-03 Thread Gary Gregory
Welcome aboard Matt. I'm looking forward to collaborating with you! Gary On Mon, Mar 3, 2014 at 8:39 AM, Ralph Goers rgo...@apache.org wrote: Welcome Matt! Ralph On Mar 2, 2014, at 11:43 PM, Dominik Psenner dpsen...@apache.org wrote: Hi, it is my pleasure to announce to the

Re: permissions on log files that RollingFileAppender creates

2014-03-27 Thread Gary Gregory
I wonder if different versions of Java use different permissions when creating files... Gary On Thu, Mar 27, 2014 at 8:20 AM, sschaef...@woh.rr.com wrote: I am confident it is not a umask issue. Even when /etc/profile, the user's .profile and the script that starts up the Oracle app all

RE: Unit testing log4j JMS Appender

2014-04-01 Thread Gary Gregory
You would be better served using version 2 which we are actively working on. Gary Original message From: Mohit Anchlia mohitanch...@gmail.com Date:04/01/2014 15:01 (GMT-05:00) To: Log4J Users List log4j-user@logging.apache.org Subject: Unit testing log4j JMS Appender I

Re: Unit testing log4j JMS Appender

2014-04-01 Thread Gary Gregory
at 12:09 PM, Gary Gregory garydgreg...@gmail.com wrote: You would be better served using version 2 which we are actively working on. Gary Original message From: Mohit Anchlia mohitanch...@gmail.com Date:04/01/2014 15:01 (GMT-05:00) To: Log4J Users List log4j-user

Re: Unit testing log4j JMS Appender

2014-04-02 Thread Gary Gregory
) at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:272) at org.mule.util.SystemUtils.clinit(SystemUtils.java:35) at org.mule.tck.junit4.AbstractMuleTestCase.clinit(AbstractMuleTestCase.java:71) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) On Tue, Apr 1, 2014 at 12:41 PM, Gary Gregory

Re: Unit testing log4j JMS Appender

2014-04-02 Thread Gary Gregory
. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. On Wed, Apr 2, 2014 at 10:12 AM, Gary Gregory garydgreg...@gmail.com wrote: The stack trace below shows the code trying to process an XML configuration with Log4j 1. You cannot have log4j version 1

Re: Slides for my upcoming Introduction to Log4j 2 talk at ApacheCon 2014

2014-04-06 Thread Gary Gregory
Nice work on the presentation!  One change I'd like to suggest is to mention the log4j TEAM. I bow down to Ralph's superhuman effort to reboot log4j and he most definitively deserves a mention and credit. But! One of the problems IMO with the log4j split to slf4j and logback is that the author

Re: Web Service Appender

2014-05-01 Thread Gary Gregory
So the app logs to JMS, not SOAP. Later you have something else that consumes the queue and calls the WS, but that would not be done by Log4j. Or are you suggesting that Log4j should be able to consume from a Q and call a WS? Gary On Thu, May 1, 2014 at 10:15 AM, Evan J

RE: More maven build problems for log4j

2014-05-01 Thread Gary Gregory
What about mvn package? Gary div Original message /divdivFrom: walter_mar...@dellteam.com /divdivDate:05/01/2014 12:08 (GMT-05:00) /divdivTo: log4j-user@logging.apache.org /divdivSubject: RE: More maven build problems for log4j /divdiv /divDell - Internal Use - Confidential

Re: how to set log4j2 xml config location

2014-05-13 Thread Gary Gregory
Minor improvement: you can replace: LogManager.getLogger(LogManager.ROOT_LOGGER_NAME) with: LogManager.getRootLogger() Gary On Tue, May 13, 2014 at 4:15 AM, Luigi Alice luigi.al...@persis.de wrote: Load the file via InputStream: final

RE: Logstash Log4J2

2014-05-18 Thread Gary Gregory
Hello, If you want the functionality of version 1 in version 2, can you create a patch for a new layout and attach it with tests to a new jira? Gary div Original message /divdivFrom: Karl Kildén karl.kil...@gmail.com /divdivDate:05/16/2014 16:32 (GMT-05:00) /divdivTo: Log4J

Re: Logstash Log4J2

2014-05-19 Thread Gary Gregory
log4j2 support done for logstash. I see some engagement in the area when I google for it, I will try to poke around and see if I can help with anything cheers On 18 May 2014 16:12, Gary Gregory garydgreg...@gmail.com wrote: Hello, If you want the functionality of version 1 in version 2, can you

Re: Logstash Log4J2

2014-05-19 Thread Gary Gregory
other projects for now and see if I can get one running ;) On 19 May 2014 13:27, Gary Gregory garydgreg...@gmail.com wrote: So logstash expects serialized Java Log4j 1.2 event objects over a socket? That's not going to work with 2.0 out of the box since our implement is different. Can

Re: Logstash Log4J2

2014-05-19 Thread Gary Gregory
to consult the experts of log4j first ;) However I guess I will look closer at ie. https://github.com/jurmous/logstash-log4j2and other projects for now and see if I can get one running ;) On 19 May 2014 13:27, Gary Gregory garydgreg...@gmail.com wrote: So logstash expects serialized Java

Re: Logstash Log4J2

2014-05-19 Thread Gary Gregory
;) On 19 May 2014 13:27, Gary Gregory garydgreg...@gmail.com wrote: So logstash expects serialized Java Log4j 1.2 event objects over a socket? That's not going to work with 2.0 out of the box since our implement is different. Can you provide more information to make sure we all

Re: Issue of creating and configuring custom appenders

2014-06-04 Thread Gary Gregory
Note that you will shoot yourself in the foot with such an appender by causing memory to be exhausted unless the appender never lets the contents of the text area grow beyond some limit. Gary On Mon, Jun 2, 2014 at 3:05 AM, Alex Wu alexyx...@gmail.com wrote: Hi all, I have followed Ralph's

Re: Appender to support carriage return

2014-06-20 Thread Gary Gregory
Log4j 2 supports JAnsi out of the box which should work for that. For Log4j 1, you'd have to write your own appender on top of JAnsi. Gary On Fri, Jun 20, 2014 at 8:28 AM, Petar Tahchiev paranoia...@gmail.com wrote: Hi guys, I was wondering if there's a LOG4J console appender out there that

Re: Appender to support carriage return

2014-06-20 Thread Gary Gregory
: [. ] [.. ] [... ] [] Any idea why is that? 2014-06-20 15:49 GMT+03:00 Gary Gregory garydgreg...@gmail.com: Log4j 2 supports JAnsi out of the box which should work for that. For Log4j 1, you'd have to write your own appender

Re: Appender to support carriage return

2014-06-24 Thread Gary Gregory
GMT+03:00 Gary Gregory garydgreg...@gmail.com: I do not know off the top of my head and I cannot dig into this ATM but... how about putting the \r in the pattern in your log4j.xml config? Gary On Fri, Jun 20, 2014 at 9:43 AM, Petar Tahchiev paranoia...@gmail.com wrote: Hi Gary

Re: Appender to support carriage return

2014-06-24 Thread Gary Gregory
ending and therefore is not suitable for a progress bar. That or we could also support actual escape sequences in the pattern. I do not know if using \r in a pattern is supposed to print \r or a CR. Thoughts? Gary On Tue, Jun 24, 2014 at 11:24 PM, Gary Gregory garydgreg...@gmail.com wrote

  1   2   3   4   5   >