Re: DAT magic

2014-06-25 Thread Matt Sicker
mvn clean compile would work On 25 June 2014 22:11, Gary Gregory wrote: > How do I ask Maven to regenerate the DAT file without doing a whole "mvn > clean test". > > Gary > > -- > E-Mail: garydgreg...@gmail.com | ggreg...@apache.org > Java Persistence with Hibernate, Second Edition >

[jira] [Resolved] (LOG4J2-689) Update Jackson to 2.4.1

2014-06-25 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-689?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary Gregory resolved LOG4J2-689. - Resolution: Fixed In SVN. > Update Jackson to 2.4.1 > --- > >

DAT magic

2014-06-25 Thread Gary Gregory
How do I ask Maven to regenerate the DAT file without doing a whole "mvn clean test". Gary -- E-Mail: garydgreg...@gmail.com | ggreg...@apache.org Java Persistence with Hibernate, Second Edition JUnit in Action, Second Edition S

[jira] [Created] (LOG4J2-689) Update Jackson to 2.4.1

2014-06-25 Thread Gary Gregory (JIRA)
Gary Gregory created LOG4J2-689: --- Summary: Update Jackson to 2.4.1 Key: LOG4J2-689 URL: https://issues.apache.org/jira/browse/LOG4J2-689 Project: Log4j 2 Issue Type: Improvement Compo

Re: org.apache.logging.log4j.core.util.Closer.closeSilent()

2014-06-25 Thread Remko Popma
Thanks for the clarification. No objection to add another method to Closer that takes an additional vararg like Matt suggested. Also fine with consolidating the port finders. Sent from my iPhone > On 2014/06/26, at 1:54, Gary Gregory wrote: > >> On Wed, Jun 25, 2014 at 12:06 PM, Remko Popma

[ANNOUNCEMENT] Apache Log4j 2.0-rc2 released

2014-06-25 Thread Ralph Goers
The Apache Log4j 2 team is pleased to announce the Log4j 2.0-rc2 release! Apache log4j is a well known framework for logging application behavior. Log4j 2 is an upgrade to Log4j that provides significant improvements over its predecessor, Log4j 1.x, and provides many of the improvements availabl

[jira] [Commented] (LOG4J2-666) Ability to use a custom MBean domain

2014-06-25 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14044160#comment-14044160 ] Remko Popma commented on LOG4J2-666: I did a quick search for "servlet 3 Java-based bo

[jira] [Commented] (LOG4J2-666) Ability to use a custom MBean domain

2014-06-25 Thread Te L (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14043962#comment-14043962 ] Te L commented on LOG4J2-666: - I was using tomcat 7.0.52. > Ability to use a custom MBean dom

[jira] [Resolved] (LOG4J2-688) Make org.apache.logging.log4j.core.layout.PatternLayout immutable.

2014-06-25 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-688?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary Gregory resolved LOG4J2-688. - Resolution: Fixed In SVN. > Make org.apache.logging.log4j.core.layout.PatternLayout immutable. >

Re: org.apache.logging.log4j.core.layout.PatternLayout.setConversionPattern(String)

2014-06-25 Thread Gary Gregory
On Wed, Jun 25, 2014 at 11:59 AM, Remko Popma wrote: > No objections from me. Let's make a note in changes.xml that this public > method went away in case any users were calling it. > Done in SVN. See LOG4J2-688. Gary > > > On Thu, Jun 26, 2014 at 12:51 AM, Matt Sicker wrote: > >> Sounds good

[jira] [Commented] (LOG4J2-682) Special characters (tab and so on) in PatternLayout do not work

2014-06-25 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-682?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14043782#comment-14043782 ] Gary Gregory commented on LOG4J2-682: - Great, thank you for the review. > Special cha

[jira] [Created] (LOG4J2-688) Make org.apache.logging.log4j.core.layout.PatternLayout immutable.

2014-06-25 Thread Gary Gregory (JIRA)
Gary Gregory created LOG4J2-688: --- Summary: Make org.apache.logging.log4j.core.layout.PatternLayout immutable. Key: LOG4J2-688 URL: https://issues.apache.org/jira/browse/LOG4J2-688 Project: Log4j 2

[jira] [Closed] (LOG4J2-682) Special characters (tab and so on) in PatternLayout do not work

2014-06-25 Thread Scott Harrington (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-682?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Scott Harrington closed LOG4J2-682. --- Verified as complete. > Special characters (tab and so on) in PatternLayout do not work > --

Re: org.apache.logging.log4j.core.util.Closer.closeSilent()

2014-06-25 Thread Gary Gregory
On Wed, Jun 25, 2014 at 12:06 PM, Remko Popma wrote: > Don't mind the rename, but why would you need varargs? > I don't think that would be much cleaner than simply calling > Closer.closeSilently(a); > Closer.closeSilently(b); > ... > Because of org.apache.logging.log4j.core.net.FreePortFinder:

[jira] [Resolved] (LOG4J2-687) Rename org.apache.logging.log4j.core.util.Closer.closeSilent() to closeSilently()

2014-06-25 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary Gregory resolved LOG4J2-687. - Resolution: Fixed In SVN. > Rename org.apache.logging.log4j.core.util.Closer.closeSilent() to >

[jira] [Created] (LOG4J2-687) Rename org.apache.logging.log4j.core.util.Closer.closeSilent() to closeSilently()

2014-06-25 Thread Gary Gregory (JIRA)
Gary Gregory created LOG4J2-687: --- Summary: Rename org.apache.logging.log4j.core.util.Closer.closeSilent() to closeSilently() Key: LOG4J2-687 URL: https://issues.apache.org/jira/browse/LOG4J2-687 Project

[jira] [Commented] (LOG4J2-666) Ability to use a custom MBean domain

2014-06-25 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14043731#comment-14043731 ] Remko Popma commented on LOG4J2-666: Let me check. If I want to reproduce the issue, w

[jira] [Commented] (LOG4J2-682) Special characters (tab and so on) in PatternLayout do not work

2014-06-25 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-682?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14043722#comment-14043722 ] Gary Gregory commented on LOG4J2-682: - Yes, I fixed it as well but I should make a JIR

[jira] [Resolved] (LOG4J2-686) Core's OptionConverter support for \b is broken (affects PatternLayout)

2014-06-25 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-686?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary Gregory resolved LOG4J2-686. - Resolution: Fixed In SVN. > Core's OptionConverter support for \b is broken (affects PatternLayo

[jira] [Created] (LOG4J2-686) Core's OptionConverter support for \b is broken (affects PatternLayout)

2014-06-25 Thread Gary Gregory (JIRA)
Gary Gregory created LOG4J2-686: --- Summary: Core's OptionConverter support for \b is broken (affects PatternLayout) Key: LOG4J2-686 URL: https://issues.apache.org/jira/browse/LOG4J2-686 Project: Log4j 2

Re: svn commit: r1605450 - in /logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/layout: AbstractLayout.java AbstractStringLayout.java PatternLayout.java SerializedLayo

2014-06-25 Thread Gary Gregory
On Wed, Jun 25, 2014 at 12:01 PM, Remko Popma wrote: > Gary, can you add a note of this public API change in changes.xml? > Done: Committed revision 1605486. Gary > > > On Thu, Jun 26, 2014 at 12:27 AM, wrote: > >> Author: ggregory >> Date: Wed Jun 25 15:27:32 2014 >> New Revision: 1605450 >

[jira] [Resolved] (LOG4J2-685) Make org.apache.logging.log4j.core.layout.AbstractLayout immutable.

2014-06-25 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-685?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary Gregory resolved LOG4J2-685. - Resolution: Fixed Fix Version/s: 2.0 > Make org.apache.logging.log4j.core.layout.AbstractL

[jira] [Created] (LOG4J2-685) Make org.apache.logging.log4j.core.layout.AbstractLayout immutable.

2014-06-25 Thread Gary Gregory (JIRA)
Gary Gregory created LOG4J2-685: --- Summary: Make org.apache.logging.log4j.core.layout.AbstractLayout immutable. Key: LOG4J2-685 URL: https://issues.apache.org/jira/browse/LOG4J2-685 Project: Log4j 2

[jira] [Created] (LOG4J2-684) ConsoleAppender does not print suppressed exceptions

2014-06-25 Thread Joern Huxhorn (JIRA)
Joern Huxhorn created LOG4J2-684: Summary: ConsoleAppender does not print suppressed exceptions Key: LOG4J2-684 URL: https://issues.apache.org/jira/browse/LOG4J2-684 Project: Log4j 2 Issue Ty

[jira] [Commented] (LOG4J2-666) Ability to use a custom MBean domain

2014-06-25 Thread Te L (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14043695#comment-14043695 ] Te L commented on LOG4J2-666: - I'm not sure if log4j2 is not behaving as you described or if m

[jira] [Commented] (LOG4J2-666) Ability to use a custom MBean domain

2014-06-25 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14043667#comment-14043667 ] Remko Popma commented on LOG4J2-666: Did you have a chance to take a look at my questi

[jira] [Assigned] (LOG4J2-666) Ability to use a custom MBean domain

2014-06-25 Thread Remko Popma (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-666?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Remko Popma reassigned LOG4J2-666: -- Assignee: Remko Popma > Ability to use a custom MBean domain >

Re: org.apache.logging.log4j.core.util.Closer.closeSilent()

2014-06-25 Thread Remko Popma
Don't mind the rename, but why would you need varargs? I don't think that would be much cleaner than simply calling Closer.closeSilently(a); Closer.closeSilently(b); ... (And Closeable is only for io stuff (streams, files, ...). For database stuff like Statement, ResultSet, Connection you need sep

[jira] [Created] (LOG4J2-683) PluginProcessor outputs warning if running newer JDK

2014-06-25 Thread Jurriaan Mous (JIRA)
Jurriaan Mous created LOG4J2-683: Summary: PluginProcessor outputs warning if running newer JDK Key: LOG4J2-683 URL: https://issues.apache.org/jira/browse/LOG4J2-683 Project: Log4j 2 Issue Ty

[jira] [Updated] (LOG4J2-683) PluginProcessor outputs warning if running JRE>6

2014-06-25 Thread Jurriaan Mous (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-683?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jurriaan Mous updated LOG4J2-683: - Summary: PluginProcessor outputs warning if running JRE>6 (was: PluginProcessor outputs warning

[jira] [Commented] (LOG4J2-682) Special characters (tab and so on) in PatternLayout do not work

2014-06-25 Thread Scott Harrington (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-682?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14043651#comment-14043651 ] Scott Harrington commented on LOG4J2-682: - I'm rebuilding a fresh 2.0-SNAPSHOT now

Re: Finding free ports

2014-06-25 Thread Gary Gregory
There is one just like it in Mina. Gary On Wed, Jun 25, 2014 at 11:02 AM, Matt Sicker wrote: > I think AvailablePortFinder was a class I copied from Camel. > > > On 24 June 2014 23:24, Gary Gregory wrote: > >> We have two ways of finding free socket ports: >> >> - org.apache.logging.log4j.tes

Re: svn commit: r1605450 - in /logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/layout: AbstractLayout.java AbstractStringLayout.java PatternLayout.java SerializedLayo

2014-06-25 Thread Remko Popma
Gary, can you add a note of this public API change in changes.xml? On Thu, Jun 26, 2014 at 12:27 AM, wrote: > Author: ggregory > Date: Wed Jun 25 15:27:32 2014 > New Revision: 1605450 > > URL: http://svn.apache.org/r1605450 > Log: > Make org.apache.logging.log4j.core.layout.AbstractLayout immut

Re: org.apache.logging.log4j.core.layout.PatternLayout.setConversionPattern(String)

2014-06-25 Thread Remko Popma
No objections from me. Let's make a note in changes.xml that this public method went away in case any users were calling it. On Thu, Jun 26, 2014 at 12:51 AM, Matt Sicker wrote: > Sounds good. Immutability should be the default way of doing things anyhow. > > > On 25 June 2014 10:24, Gary Grego

Re: org.apache.logging.log4j.core.layout.PatternLayout.setConversionPattern(String)

2014-06-25 Thread Matt Sicker
Sounds good. Immutability should be the default way of doing things anyhow. On 25 June 2014 10:24, Gary Gregory wrote: > Hi All: > > The method > org.apache.logging.log4j.core.layout.PatternLayout.setConversionPattern(String) > should not exist. It is only used in one test and forces some PL st

org.apache.logging.log4j.core.layout.PatternLayout.setConversionPattern(String)

2014-06-25 Thread Gary Gregory
Hi All: The method org.apache.logging.log4j.core.layout.PatternLayout.setConversionPattern(String) should not exist. It is only used in one test and forces some PL state to be mutable. I applied a fix for https://issues.apache.org/jira/browse/LOG4J2-682 that exacerbates the problem by making anot

Re: Finding free ports

2014-06-25 Thread Matt Sicker
I think AvailablePortFinder was a class I copied from Camel. On 24 June 2014 23:24, Gary Gregory wrote: > We have two ways of finding free socket ports: > > - org.apache.logging.log4j.test.AvailablePortFinder has been around for a > while, and > - org.apache.logging.log4j.core.net.FreePortFinde

Re: org.apache.logging.log4j.core.util.Closer.closeSilent()

2014-06-25 Thread Matt Sicker
I like calling it closeSilently(). And for varargs, I propose just adding an additional method that takes things like close(Closeable c, Closeable... more) or something like that. On 24 June 2014 23:18, Gary Gregory wrote: > I just found a bunch of handy > org.apache.logging.log4j.core.util.Clo

[jira] [Comment Edited] (LOG4J2-682) Special characters (tab and so on) in PatternLayout do not work

2014-06-25 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-682?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14043576#comment-14043576 ] Gary Gregory edited comment on LOG4J2-682 at 6/25/14 2:58 PM: --

[jira] [Resolved] (LOG4J2-682) Special characters (tab and so on) in PatternLayout do not work

2014-06-25 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-682?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary Gregory resolved LOG4J2-682. - Resolution: Fixed Patch applied to trunk with additional changes, thank you. NOTE: This is NOT

[jira] [Updated] (LOG4J2-682) Special characters (tab and so on) in PatternLayout do not work

2014-06-25 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-682?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary Gregory updated LOG4J2-682: Summary: Special characters (tab and so on) in PatternLayout do not work (was: Special characters

[jira] [Comment Edited] (LOG4J2-682) Special characters (tab) in PatternLayout

2014-06-25 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-682?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14043389#comment-14043389 ] Gary Gregory edited comment on LOG4J2-682 at 6/25/14 12:32 PM: -

[jira] [Commented] (LOG4J2-682) Special characters (tab) in PatternLayout

2014-06-25 Thread Gary Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-682?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14043389#comment-14043389 ] Gary Gregory commented on LOG4J2-682: - Serendipity! See the discussion on the ML: ht

Re: [VOTE] Log4j 2.0-rc2 candidate 1

2014-06-25 Thread Ralph Goers
This would be the flume module Sent from my iPad > On Jun 24, 2014, at 11:19 PM, Remko Popma wrote: > > I think it's parallel in the api module but not in core. AFAIK Core needs > more work before its tests can be run in parallel. > > Sent from my iPhone > >> On 2014/06/25, at 14:07, Gary G

[jira] [Updated] (LOG4J2-682) Special characters (tab) in PatternLayout

2014-06-25 Thread Scott Harrington (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-682?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Scott Harrington updated LOG4J2-682: Attachment: log4j-r1604932-specialchars.patch > Special characters (tab) in PatternLayout >

[jira] [Created] (LOG4J2-682) Special characters (tab) in PatternLayout

2014-06-25 Thread Scott Harrington (JIRA)
Scott Harrington created LOG4J2-682: --- Summary: Special characters (tab) in PatternLayout Key: LOG4J2-682 URL: https://issues.apache.org/jira/browse/LOG4J2-682 Project: Log4j 2 Issue Type: I

[jira] [Updated] (LOG4J2-681) Add ability to change log level for any class/package dynamically via jmx

2014-06-25 Thread phil wray (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-681?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] phil wray updated LOG4J2-681: - Description: Very useful to be able to change the log levels for any logger (i.e. class or package) at r

[jira] [Updated] (LOG4J2-681) Add ability to change log level for any class/package dynamically via jmx

2014-06-25 Thread phil wray (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-681?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] phil wray updated LOG4J2-681: - Attachment: ExampleJmxLoggerAdmin.java > Add ability to change log level for any class/package dynamicall

[jira] [Created] (LOG4J2-681) Add ability to change log level for any class/package dynamically via jmx

2014-06-25 Thread phil wray (JIRA)
phil wray created LOG4J2-681: Summary: Add ability to change log level for any class/package dynamically via jmx Key: LOG4J2-681 URL: https://issues.apache.org/jira/browse/LOG4J2-681 Project: Log4j 2