Re: Log4j 2 - Error when shutting down Tomcat

2013-04-25 Thread Ralph Goers
I added a shutdown hook to stop configurations when a JVM shuts down to fix LOG4J2-212. It sounds like I will have to run this under a debugger. If you can provide the sample app I will have to test it. Ralph On Apr 25, 2013, at 1:07 PM, Nick Williams wrote: > I have Log4j 2 beta 5 configur

Log4j 2 - Error when shutting down Tomcat

2013-04-25 Thread Nick Williams
I have Log4j 2 beta 5 configured in a simply one-page web app with console and rolling file appenders. Everything works fine; however, when I shut down Tomcat, the following errors are logged to the console (I've included Tomcat INFO messages for context). This has never happened with my applica

Re: Database Appenders

2013-04-25 Thread Gary Gregory
On Apr 25, 2013, at 14:15, Nicholas Williams wrote: That's certainly a possibility. I think a JpaAppender might be overkill for some applications, and perhaps the user doesn't want another dependency to log to the database. I think a JpaAppender would be supplementary to a JdbcAppender, not a rep

Re: Database Appenders

2013-04-25 Thread Gary Gregory
JPA is heavy weight compared to JDBC. It seems like overkill. Gary On Apr 25, 2013, at 14:12, Ralph Goers wrote: > Rather than a JDBC appender I was hoping for a more generic appender that > could use JPA or something else. > > > On Apr 25, 2013, at 7:39 AM, Nicholas Williams wrote: > >> First

Re: Database Appenders

2013-04-25 Thread Nicholas Williams
Interesting idea. I'll look into the JSONLayout as a possible solution. On Thu, Apr 25, 2013 at 1:13 PM, Ralph Goers wrote: > I would think that for something like MongoDB you would want to use a > JSONLayout and then just insert that. I can tell you that for Cassandra it > is considerably more

Re: Database Appenders

2013-04-25 Thread Nicholas Williams
That's certainly a possibility. I think a JpaAppender might be overkill for some applications, and perhaps the user doesn't want another dependency to log to the database. I think a JpaAppender would be supplementary to a JdbcAppender, not a replacement for it. On Thu, Apr 25, 2013 at 1:11 PM, Ra

Re: Database Appenders

2013-04-25 Thread Ralph Goers
I would think that for something like MongoDB you would want to use a JSONLayout and then just insert that. I can tell you that for Cassandra it is considerably more complicated. Ralph On Apr 25, 2013, at 9:25 AM, Nicholas Williams wrote: > > On Thu, Apr 25, 2013 at 11:17 AM, Nicholas Will

Re: Database Appenders

2013-04-25 Thread Ralph Goers
Rather than a JDBC appender I was hoping for a more generic appender that could use JPA or something else. On Apr 25, 2013, at 7:39 AM, Nicholas Williams wrote: > First, a quick question: do we anticipate the next version to be beta6 or > rc1? Just curious. > > I'm currently working on cleani

Re: Database Appenders

2013-04-25 Thread Nicholas Williams
On Thu, Apr 25, 2013 at 11:17 AM, Nicholas Williams < nicho...@nicholaswilliams.net> wrote: > > On Thu, Apr 25, 2013 at 11:15 AM, Nicholas Williams < > nicho...@nicholaswilliams.net> wrote: > >> >> On Thu, Apr 25, 2013 at 11:06 AM, Gary Gregory wrote: >> >>> I thought it included a vendor neutral

Re: Database Appenders

2013-04-25 Thread Nicholas Williams
On Thu, Apr 25, 2013 at 11:15 AM, Nicholas Williams < nicho...@nicholaswilliams.net> wrote: > > On Thu, Apr 25, 2013 at 11:06 AM, Gary Gregory wrote: > >> I thought it included a vendor neutral NoSQL API in its stack someplace. >> > > From what I can tell, it includes a vendor-neutral way to conne

Re: Database Appenders

2013-04-25 Thread Nicholas Williams
On Thu, Apr 25, 2013 at 11:06 AM, Gary Gregory wrote: > I thought it included a vendor neutral NoSQL API in its stack someplace. > >From what I can tell, it includes a vendor-neutral way to connect to its cloud-based application engine. But you must either connect to a hosted cloud application en

Re: Database Appenders

2013-04-25 Thread Gary Gregory
I thought it included a vendor neutral NoSQL API in its stack someplace. Gary On Apr 25, 2013, at 11:47, Nicholas Williams wrote: On Thu, Apr 25, 2013 at 10:43 AM, Gary Gregory wrote: > On Thu, Apr 25, 2013 at 11:37 AM, Nicholas Williams < > nicho...@nicholaswilliams.net> wrote: > >> >> On Th

Re: Database Appenders

2013-04-25 Thread Nicholas Williams
On Thu, Apr 25, 2013 at 10:43 AM, Gary Gregory wrote: > On Thu, Apr 25, 2013 at 11:37 AM, Nicholas Williams < > nicho...@nicholaswilliams.net> wrote: > >> >> On Thu, Apr 25, 2013 at 10:01 AM, Remko Popma wrote: >> >>> I think this is the link Gary is talking about: (from the wiki) >>> Build a NoS

Re: Database Appenders

2013-04-25 Thread Gary Gregory
On Thu, Apr 25, 2013 at 11:37 AM, Nicholas Williams < nicho...@nicholaswilliams.net> wrote: > > On Thu, Apr 25, 2013 at 10:01 AM, Remko Popma wrote: > >> I think this is the link Gary is talking about: (from the wiki) >> Build a NoSQL Appender, maybe with >> AppScale

Re: Database Appenders

2013-04-25 Thread Nicholas Williams
On Thu, Apr 25, 2013 at 10:01 AM, Remko Popma wrote: > 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 appen

[Bug 51766] Relocate RewriteAppender and UtilLoggingLevel from receivers to log4j

2013-04-25 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=51766 Glauber Ribeiro changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXE

Re: Database Appenders

2013-04-25 Thread Nicholas Williams
On Thu, Apr 25, 2013 at 9:51 AM, Gary Gregory wrote: > On Thu, Apr 25, 2013 at 10:39 AM, Nicholas Williams < > nicho...@nicholaswilliams.net> wrote: > >> First, a quick question: do we anticipate the next version to be beta6 or >> rc1? Just curious. >> > > As long as we are adding features, I'd li

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 a

Re: Database Appenders

2013-04-25 Thread Gary Gregory
On Thu, Apr 25, 2013 at 10:39 AM, Nicholas Williams < nicho...@nicholaswilliams.net> wrote: > First, a quick question: do we anticipate the next version to be beta6 or > rc1? Just curious. > As long as we are adding features, I'd like to keep rolling Betas. But it would also be OK to release 2.0

Database Appenders

2013-04-25 Thread Nicholas Williams
First, a quick question: do we anticipate the next version to be beta6 or rc1? Just curious. I'm currently working on cleaning up compiler warnings throughout the project and should have that completed soon. I want to go ahead and get the conversation started about database appenders. I'd like to

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 n

Re: [ANNOUNCEMENT] Apache Log4j 2.0-beta5 released

2013-04-25 Thread Remko Popma
Nice! Sent from my iPhone On 2013/04/25, at 16:39, Christian Grobmeier wrote: > Blogged! > https://blogs.apache.org/logging/entry/apache_log4j_2_0_beta5 > > On Thu, Apr 25, 2013 at 8:17 AM, Ralph Goers > wrote: >> The Apache Log4j 2 team is pleased to announce the Log4j 2.0-beta5 release! >>

Re: [ANNOUNCEMENT] Apache Log4j 2.0-beta5 released

2013-04-25 Thread Christian Grobmeier
Blogged! https://blogs.apache.org/logging/entry/apache_log4j_2_0_beta5 On Thu, Apr 25, 2013 at 8:17 AM, Ralph Goers wrote: > The Apache Log4j 2 team is pleased to announce the Log4j 2.0-beta5 release! > > Apache log4j is a well known framework for logging application behavior. > Log4j 2 is an up