Console Appender Weirdness

2013-10-10 Thread JD Buys
Hi, I am running log4j2 beta 9 on Glassfish 3.1.1. My configuration is very simple, I have two console appenders one where the target is SYSTEM_OUT and the other where the target is SYSTEM_ERR. The problem is this: When Glassfish starts up it logs my info messages correctly to the

Re: Console Appender Weirdness

2013-10-10 Thread JD Buys
, consoleErrAppender); loggerContext.updateLoggers(); logger.info(Test); *** JD On Thu, Oct 10, 2013 at 2:49 PM, Gary Gregory garydgreg...@gmail.comwrote: On Thu, Oct 10, 2013 at 6:07 AM, JD Buys jdb...@gmail.com wrote: Hi, I am running log4j2

Re: JPAAppender error

2013-08-07 Thread JD Buys
of your entity class (the one that extends BasicLogEventEntity) and your entire XML configuration. I'm doing to need those two things for sure to figure out the latest error you mentioned. Thanks, Nick On Jul 19, 2013, at 5:36 AM, JD Buys wrote: I found the location which causes the appender

Re: JPAAppender error

2013-07-19 Thread JD Buys
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 List log4j-dev@logging.apache.org

Re: JPAAppender error

2013-07-19 Thread JD Buys
entity type exception. JD On Fri, Jul 19, 2013 at 8:13 AM, JD Buys jdb...@gmail.com wrote: I have included the jars in the classpath, and I also added a FastRollingFileAppender, which keeps on working after I redeploy, so it is only the JPAAppender that stops working. JD On Fri, Jul 19

JPAAppender error

2013-07-18 Thread JD Buys
Hi, I have a strange error where if I deploy my application again, the JPA appender stops working. Any ideas why? I am running Glassfish 3.1.1 JD Buys

Re: JPAAppender error

2013-07-18 Thread JD Buys
another person would need to reproduce the issue you see in the most minimal manner. Gary On Jul 18, 2013, at 9:05, 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 running Glassfish

Re: JPAAppender error

2013-07-18 Thread JD Buys
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 running Glassfish

Re: JPAAppender error

2013-07-18 Thread JD Buys
at 9:34 AM, JD Buys jdb...@gmail.com wrote: Yes, sorry, after I sent the email I realized it was very vague. I am using log4j2 beta8 with eclipselink 2.3.0 on mysql. The project is a ear module with which contains a war and ejb module, and I am configuring log4j via code. I will try

Re: JPAAppender error

2013-07-18 Thread JD Buys
Yep that about sums it up. The rest of the application runs 100%. On Thu, Jul 18, 2013 at 4:58 PM, Nick Williams nicho...@nicholaswilliams.net wrote: On Jul 18, 2013, at 9:52 AM, JD Buys wrote: I wonder if that might be where my problem is. I am using the BasicLogEventEntity, which works

Re: JPAAppender error

2013-07-18 Thread JD Buys
Yes it is the only appender I have configured and it's added to the root logger On Thu, Jul 18, 2013 at 9:35 PM, Nick Williams nicho...@nicholaswilliams.net wrote: Is the JPAAppender the only appender you have configured? Nick On Jul 18, 2013, at 2:32 PM, JD Buys wrote: Yep that about