You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by Matt Sicker <bo...@gmail.com> on 2014/07/30 03:33:01 UTC

[VOTE] Log4j 2.0.1 candidate 1

This is a vote to release Log4j 2.0.1, the first bug fix release of the 2.0
branch of Log4j 2.

Please test and cast your votes.
[] +1, release the artifacts
[] -1, don't release because...

The vote will remain open for 72 hours (or more if required). Note that
binding votes, as usual, are done by PMC members. Non-binding votes are
welcome from anyone and are always welcome.

This is my first time acting as an RM, so if there are any issues with
this, please let me know as soon as possible! If you don't already have my
GPG key, it's key ID FA1C814D which is available on all the public GPG
servers. Otherwise, you can download it from my Apache site at: <
http://people.apache.org/~mattsicker/FA1C814D.asc>

New features:
o LOG4J2-725:  Added WebLoggerContextUtils class to log4j-web for helper
methods useful for asynchronous servlets.
o LOG4J2-710:  Added documentation for Custom Levels and Custom Loggers.

Fixed Bugs:
o LOG4J2-744:  Avoid unnecessary Clock calls when TimestampMessage is
logged. Thanks to Scott Harrington.
o LOG4J2-704:  Improved error message if configuration file not found.
o LOG4J2-750:  Webapp configuration page has incorrect class name. Thanks
to Mike Calmus.
o LOG4J2-749:  Retain the default date pattern after fixing the ISO8601
pattern. Thanks to Scott Harrington.
o LOG4J2-670:  DatePatternConverter ISO8601_PATTERN now conforms to
ISO8601.
o LOG4J2-741:  Reinstate the package configuration attribute for
discovering custom plugins.
o LOG4J2-742:  XInclude not working with relative path. Thanks to Pascal
Chollet.
o LOG4J2-740:  Fixed typo in webapp manual regarding sample web.xml file.
Thanks to Kosta Krauth.
o LOG4J2-738:  RollingFileManager deadlock if async action thread fails to
start. Thanks to Timothy Stack.
o LOG4J2-736:  Fixed log4j-bom so that it won't specify a default scope on
any third party dependencies.
o LOG4J2-735:  Fixed log4j-bom so that it won't interfere with spring-bom
and others.
o LOG4J2-731:  Updated documentation regarding extensions to
LoggerContextFactory and Log4j 2 providers.
o LOG4J2-373:  Fixed ClassLoader issues in loading Log4j providers in an
OSGi environment.
o LOG4J2-719:  Correctly handle NetworkOnMainThreadException thrown on
Android during Log4j2 initialization.
o LOG4J2-716:  Automatically disable log4j JMX when detecting we are
running on Android.
o LOG4J2-657:  Fixed AbstractDatabaseManager to close connection on
writeInternal error. Thanks to Stefan Wehner.
o LOG4J2-713:  Android: java.lang.VerifyError:
org/apache/logging/log4j/core/util/Closer Thanks to Nelson Melina.
o LOG4J2-703:  Android: Could not find class 'javax.naming.InitialContext',
referenced from method
org.apache.logging.log4j.core.lookup.JndiLookup.lookup. Thanks to Nelson
Melina.

Tag: http://svn.apache.org/repos/asf/logging/log4j/log4j2/tags/log4j-2.0.1/

SVN revision: 1614534

Web Site: http://people.apache.org/~mattsicker/log4j/2.0.1/

Artifacts:
https://repository.apache.org/content/repositories/orgapachelogging-1005/

You may download all the artifacts by executing:

wget -e robots=off --cut-dirs=3 -r -p -np --no-check-certificate
https://repository.apache.org/content/repositories/orgapachelogging-1005/

-- 
Matt Sicker <bo...@gmail.com>

Re: [VOTE] Log4j 2.0.1 candidate 1

Posted by Matt Sicker <bo...@gmail.com>.
All the md5/sha1 tools I have make funny output. I ended up using "openssl
md5" and "openssl sha1" to output the checksums for the site zip.

http://people.apache.org/~mattsicker/log4j/

I've uploaded a zip file of the log4j-distribution output directory and the
site zip (as detailed in step 12 of the release process wiki page) along
with a signature of that file, too.

I'd also like to note that the release guide only mentions adding your GPG
key to pgp.mit.edu and the KEYS file in the dist svn repository (which only
PMCs can write to I'm assuming?). Ralph mentioned something about using
id.apache.org, but I'm not sure on how to upload GPG keys to an LDAP server
(if that's how it would be done here). I added my fingerprint to my
id.apache.org profile, though.


On 3 August 2014 22:02, Matt Sicker <bo...@gmail.com> wrote:

> Hooray, that makes three +1 binding votes! I'll continue to the next steps
> in the release guide now.
>
>
> On 3 August 2014 21:54, Ralph Goers <ra...@dslextreme.com> wrote:
>
>> +1
>> Ralph
>>
>> On Jul 29, 2014, at 6:33 PM, Matt Sicker <bo...@gmail.com> wrote:
>>
>> This is a vote to release Log4j 2.0.1, the first bug fix release of the
>> 2.0 branch of Log4j 2.
>>
>> Please test and cast your votes.
>> [] +1, release the artifacts
>> [] -1, don't release because...
>>
>> The vote will remain open for 72 hours (or more if required). Note that
>> binding votes, as usual, are done by PMC members. Non-binding votes are
>> welcome from anyone and are always welcome.
>>
>> This is my first time acting as an RM, so if there are any issues with
>> this, please let me know as soon as possible! If you don't already have my
>> GPG key, it's key ID FA1C814D which is available on all the public GPG
>> servers. Otherwise, you can download it from my Apache site at: <
>> http://people.apache.org/~mattsicker/FA1C814D.asc>
>>
>> New features:
>> o LOG4J2-725:  Added WebLoggerContextUtils class to log4j-web for helper
>> methods useful for asynchronous servlets.
>> o LOG4J2-710:  Added documentation for Custom Levels and Custom Loggers.
>>
>> Fixed Bugs:
>> o LOG4J2-744:  Avoid unnecessary Clock calls when TimestampMessage is
>> logged. Thanks to Scott Harrington.
>> o LOG4J2-704:  Improved error message if configuration file not found.
>> o LOG4J2-750:  Webapp configuration page has incorrect class name. Thanks
>> to Mike Calmus.
>> o LOG4J2-749:  Retain the default date pattern after fixing the ISO8601
>> pattern. Thanks to Scott Harrington.
>> o LOG4J2-670:  DatePatternConverter ISO8601_PATTERN now conforms to
>> ISO8601.
>> o LOG4J2-741:  Reinstate the package configuration attribute for
>> discovering custom plugins.
>> o LOG4J2-742:  XInclude not working with relative path. Thanks to Pascal
>> Chollet.
>> o LOG4J2-740:  Fixed typo in webapp manual regarding sample web.xml file.
>> Thanks to Kosta Krauth.
>> o LOG4J2-738:  RollingFileManager deadlock if async action thread fails
>> to start. Thanks to Timothy Stack.
>> o LOG4J2-736:  Fixed log4j-bom so that it won't specify a default scope
>> on any third party dependencies.
>> o LOG4J2-735:  Fixed log4j-bom so that it won't interfere with spring-bom
>> and others.
>> o LOG4J2-731:  Updated documentation regarding extensions to
>> LoggerContextFactory and Log4j 2 providers.
>> o LOG4J2-373:  Fixed ClassLoader issues in loading Log4j providers in an
>> OSGi environment.
>> o LOG4J2-719:  Correctly handle NetworkOnMainThreadException thrown on
>> Android during Log4j2 initialization.
>> o LOG4J2-716:  Automatically disable log4j JMX when detecting we are
>> running on Android.
>> o LOG4J2-657:  Fixed AbstractDatabaseManager to close connection on
>> writeInternal error. Thanks to Stefan Wehner.
>> o LOG4J2-713:  Android: java.lang.VerifyError:
>> org/apache/logging/log4j/core/util/Closer Thanks to Nelson Melina.
>> o LOG4J2-703:  Android: Could not find class
>> 'javax.naming.InitialContext', referenced from method
>> org.apache.logging.log4j.core.lookup.JndiLookup.lookup. Thanks to Nelson
>> Melina.
>>
>> Tag:
>> http://svn.apache.org/repos/asf/logging/log4j/log4j2/tags/log4j-2.0.1/
>>
>> SVN revision: 1614534
>>
>> Web Site: http://people.apache.org/~mattsicker/log4j/2.0.1/
>>
>> Artifacts:
>> https://repository.apache.org/content/repositories/orgapachelogging-1005/
>>
>> You may download all the artifacts by executing:
>>
>> wget -e robots=off --cut-dirs=3 -r -p -np --no-check-certificate
>> https://repository.apache.org/content/repositories/orgapachelogging-1005/
>>
>> --
>> Matt Sicker <bo...@gmail.com>
>>
>>
>>
>
>
> --
> Matt Sicker <bo...@gmail.com>
>



-- 
Matt Sicker <bo...@gmail.com>

Re: [VOTE] Log4j 2.0.1 candidate 1

Posted by Gary Gregory <ga...@gmail.com>.
Can you send out a separate email with "[VOTE][RESULT]" in the subject with
details of the vote result.

Gary


On Sun, Aug 3, 2014 at 11:02 PM, Matt Sicker <bo...@gmail.com> wrote:

> Hooray, that makes three +1 binding votes! I'll continue to the next steps
> in the release guide now.
>
>
> On 3 August 2014 21:54, Ralph Goers <ra...@dslextreme.com> wrote:
>
>> +1
>> Ralph
>>
>> On Jul 29, 2014, at 6:33 PM, Matt Sicker <bo...@gmail.com> wrote:
>>
>> This is a vote to release Log4j 2.0.1, the first bug fix release of the
>> 2.0 branch of Log4j 2.
>>
>> Please test and cast your votes.
>> [] +1, release the artifacts
>> [] -1, don't release because...
>>
>> The vote will remain open for 72 hours (or more if required). Note that
>> binding votes, as usual, are done by PMC members. Non-binding votes are
>> welcome from anyone and are always welcome.
>>
>> This is my first time acting as an RM, so if there are any issues with
>> this, please let me know as soon as possible! If you don't already have my
>> GPG key, it's key ID FA1C814D which is available on all the public GPG
>> servers. Otherwise, you can download it from my Apache site at: <
>> http://people.apache.org/~mattsicker/FA1C814D.asc>
>>
>> New features:
>> o LOG4J2-725:  Added WebLoggerContextUtils class to log4j-web for helper
>> methods useful for asynchronous servlets.
>> o LOG4J2-710:  Added documentation for Custom Levels and Custom Loggers.
>>
>> Fixed Bugs:
>> o LOG4J2-744:  Avoid unnecessary Clock calls when TimestampMessage is
>> logged. Thanks to Scott Harrington.
>> o LOG4J2-704:  Improved error message if configuration file not found.
>> o LOG4J2-750:  Webapp configuration page has incorrect class name. Thanks
>> to Mike Calmus.
>> o LOG4J2-749:  Retain the default date pattern after fixing the ISO8601
>> pattern. Thanks to Scott Harrington.
>> o LOG4J2-670:  DatePatternConverter ISO8601_PATTERN now conforms to
>> ISO8601.
>> o LOG4J2-741:  Reinstate the package configuration attribute for
>> discovering custom plugins.
>> o LOG4J2-742:  XInclude not working with relative path. Thanks to Pascal
>> Chollet.
>> o LOG4J2-740:  Fixed typo in webapp manual regarding sample web.xml file.
>> Thanks to Kosta Krauth.
>> o LOG4J2-738:  RollingFileManager deadlock if async action thread fails
>> to start. Thanks to Timothy Stack.
>> o LOG4J2-736:  Fixed log4j-bom so that it won't specify a default scope
>> on any third party dependencies.
>> o LOG4J2-735:  Fixed log4j-bom so that it won't interfere with spring-bom
>> and others.
>> o LOG4J2-731:  Updated documentation regarding extensions to
>> LoggerContextFactory and Log4j 2 providers.
>> o LOG4J2-373:  Fixed ClassLoader issues in loading Log4j providers in an
>> OSGi environment.
>> o LOG4J2-719:  Correctly handle NetworkOnMainThreadException thrown on
>> Android during Log4j2 initialization.
>> o LOG4J2-716:  Automatically disable log4j JMX when detecting we are
>> running on Android.
>> o LOG4J2-657:  Fixed AbstractDatabaseManager to close connection on
>> writeInternal error. Thanks to Stefan Wehner.
>> o LOG4J2-713:  Android: java.lang.VerifyError:
>> org/apache/logging/log4j/core/util/Closer Thanks to Nelson Melina.
>> o LOG4J2-703:  Android: Could not find class
>> 'javax.naming.InitialContext', referenced from method
>> org.apache.logging.log4j.core.lookup.JndiLookup.lookup. Thanks to Nelson
>> Melina.
>>
>> Tag:
>> http://svn.apache.org/repos/asf/logging/log4j/log4j2/tags/log4j-2.0.1/
>>
>> SVN revision: 1614534
>>
>> Web Site: http://people.apache.org/~mattsicker/log4j/2.0.1/
>>
>> Artifacts:
>> https://repository.apache.org/content/repositories/orgapachelogging-1005/
>>
>> You may download all the artifacts by executing:
>>
>> wget -e robots=off --cut-dirs=3 -r -p -np --no-check-certificate
>> https://repository.apache.org/content/repositories/orgapachelogging-1005/
>>
>> --
>> Matt Sicker <bo...@gmail.com>
>>
>>
>>
>
>
> --
> Matt Sicker <bo...@gmail.com>
>



-- 
E-Mail: garydgregory@gmail.com | ggregory@apache.org
Java Persistence with Hibernate, Second Edition
<http://www.manning.com/bauer3/>
JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
Spring Batch in Action <http://www.manning.com/templier/>
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory

Re: [VOTE] Log4j 2.0.1 candidate 1

Posted by Matt Sicker <bo...@gmail.com>.
Hooray, that makes three +1 binding votes! I'll continue to the next steps
in the release guide now.


On 3 August 2014 21:54, Ralph Goers <ra...@dslextreme.com> wrote:

> +1
> Ralph
>
> On Jul 29, 2014, at 6:33 PM, Matt Sicker <bo...@gmail.com> wrote:
>
> This is a vote to release Log4j 2.0.1, the first bug fix release of the
> 2.0 branch of Log4j 2.
>
> Please test and cast your votes.
> [] +1, release the artifacts
> [] -1, don't release because...
>
> The vote will remain open for 72 hours (or more if required). Note that
> binding votes, as usual, are done by PMC members. Non-binding votes are
> welcome from anyone and are always welcome.
>
> This is my first time acting as an RM, so if there are any issues with
> this, please let me know as soon as possible! If you don't already have my
> GPG key, it's key ID FA1C814D which is available on all the public GPG
> servers. Otherwise, you can download it from my Apache site at: <
> http://people.apache.org/~mattsicker/FA1C814D.asc>
>
> New features:
> o LOG4J2-725:  Added WebLoggerContextUtils class to log4j-web for helper
> methods useful for asynchronous servlets.
> o LOG4J2-710:  Added documentation for Custom Levels and Custom Loggers.
>
> Fixed Bugs:
> o LOG4J2-744:  Avoid unnecessary Clock calls when TimestampMessage is
> logged. Thanks to Scott Harrington.
> o LOG4J2-704:  Improved error message if configuration file not found.
> o LOG4J2-750:  Webapp configuration page has incorrect class name. Thanks
> to Mike Calmus.
> o LOG4J2-749:  Retain the default date pattern after fixing the ISO8601
> pattern. Thanks to Scott Harrington.
> o LOG4J2-670:  DatePatternConverter ISO8601_PATTERN now conforms to
> ISO8601.
> o LOG4J2-741:  Reinstate the package configuration attribute for
> discovering custom plugins.
> o LOG4J2-742:  XInclude not working with relative path. Thanks to Pascal
> Chollet.
> o LOG4J2-740:  Fixed typo in webapp manual regarding sample web.xml file.
> Thanks to Kosta Krauth.
> o LOG4J2-738:  RollingFileManager deadlock if async action thread fails to
> start. Thanks to Timothy Stack.
> o LOG4J2-736:  Fixed log4j-bom so that it won't specify a default scope on
> any third party dependencies.
> o LOG4J2-735:  Fixed log4j-bom so that it won't interfere with spring-bom
> and others.
> o LOG4J2-731:  Updated documentation regarding extensions to
> LoggerContextFactory and Log4j 2 providers.
> o LOG4J2-373:  Fixed ClassLoader issues in loading Log4j providers in an
> OSGi environment.
> o LOG4J2-719:  Correctly handle NetworkOnMainThreadException thrown on
> Android during Log4j2 initialization.
> o LOG4J2-716:  Automatically disable log4j JMX when detecting we are
> running on Android.
> o LOG4J2-657:  Fixed AbstractDatabaseManager to close connection on
> writeInternal error. Thanks to Stefan Wehner.
> o LOG4J2-713:  Android: java.lang.VerifyError:
> org/apache/logging/log4j/core/util/Closer Thanks to Nelson Melina.
> o LOG4J2-703:  Android: Could not find class
> 'javax.naming.InitialContext', referenced from method
> org.apache.logging.log4j.core.lookup.JndiLookup.lookup. Thanks to Nelson
> Melina.
>
> Tag:
> http://svn.apache.org/repos/asf/logging/log4j/log4j2/tags/log4j-2.0.1/
>
> SVN revision: 1614534
>
> Web Site: http://people.apache.org/~mattsicker/log4j/2.0.1/
>
> Artifacts:
> https://repository.apache.org/content/repositories/orgapachelogging-1005/
>
> You may download all the artifacts by executing:
>
> wget -e robots=off --cut-dirs=3 -r -p -np --no-check-certificate
> https://repository.apache.org/content/repositories/orgapachelogging-1005/
>
> --
> Matt Sicker <bo...@gmail.com>
>
>
>


-- 
Matt Sicker <bo...@gmail.com>

Re: [VOTE] Log4j 2.0.1 candidate 1

Posted by Ralph Goers <ra...@dslextreme.com>.
+1
Ralph

On Jul 29, 2014, at 6:33 PM, Matt Sicker <bo...@gmail.com> wrote:

> This is a vote to release Log4j 2.0.1, the first bug fix release of the 2.0 branch of Log4j 2.
> 
> Please test and cast your votes.
> [] +1, release the artifacts
> [] -1, don't release because...
> 
> The vote will remain open for 72 hours (or more if required). Note that binding votes, as usual, are done by PMC members. Non-binding votes are welcome from anyone and are always welcome.
> 
> This is my first time acting as an RM, so if there are any issues with this, please let me know as soon as possible! If you don't already have my GPG key, it's key ID FA1C814D which is available on all the public GPG servers. Otherwise, you can download it from my Apache site at: <http://people.apache.org/~mattsicker/FA1C814D.asc>
> 
> New features:
> o LOG4J2-725:  Added WebLoggerContextUtils class to log4j-web for helper methods useful for asynchronous servlets. 
> o LOG4J2-710:  Added documentation for Custom Levels and Custom Loggers. 
> 
> Fixed Bugs:
> o LOG4J2-744:  Avoid unnecessary Clock calls when TimestampMessage is logged. Thanks to Scott Harrington. 
> o LOG4J2-704:  Improved error message if configuration file not found. 
> o LOG4J2-750:  Webapp configuration page has incorrect class name. Thanks to Mike Calmus. 
> o LOG4J2-749:  Retain the default date pattern after fixing the ISO8601 pattern. Thanks to Scott Harrington. 
> o LOG4J2-670:  DatePatternConverter ISO8601_PATTERN now conforms to ISO8601. 
> o LOG4J2-741:  Reinstate the package configuration attribute for discovering custom plugins. 
> o LOG4J2-742:  XInclude not working with relative path. Thanks to Pascal Chollet. 
> o LOG4J2-740:  Fixed typo in webapp manual regarding sample web.xml file. Thanks to Kosta Krauth. 
> o LOG4J2-738:  RollingFileManager deadlock if async action thread fails to start. Thanks to Timothy Stack. 
> o LOG4J2-736:  Fixed log4j-bom so that it won't specify a default scope on any third party dependencies. 
> o LOG4J2-735:  Fixed log4j-bom so that it won't interfere with spring-bom and others. 
> o LOG4J2-731:  Updated documentation regarding extensions to LoggerContextFactory and Log4j 2 providers. 
> o LOG4J2-373:  Fixed ClassLoader issues in loading Log4j providers in an OSGi environment. 
> o LOG4J2-719:  Correctly handle NetworkOnMainThreadException thrown on Android during Log4j2 initialization. 
> o LOG4J2-716:  Automatically disable log4j JMX when detecting we are running on Android. 
> o LOG4J2-657:  Fixed AbstractDatabaseManager to close connection on writeInternal error. Thanks to Stefan Wehner. 
> o LOG4J2-713:  Android: java.lang.VerifyError: org/apache/logging/log4j/core/util/Closer Thanks to Nelson Melina. 
> o LOG4J2-703:  Android: Could not find class 'javax.naming.InitialContext', referenced from method org.apache.logging.log4j.core.lookup.JndiLookup.lookup. Thanks to Nelson Melina. 
> 
> Tag: http://svn.apache.org/repos/asf/logging/log4j/log4j2/tags/log4j-2.0.1/
> 
> SVN revision: 1614534
> 
> Web Site: http://people.apache.org/~mattsicker/log4j/2.0.1/
> 
> Artifacts: https://repository.apache.org/content/repositories/orgapachelogging-1005/
> 
> You may download all the artifacts by executing:
> 
> wget -e robots=off --cut-dirs=3 -r -p -np --no-check-certificate https://repository.apache.org/content/repositories/orgapachelogging-1005/
> 
> -- 
> Matt Sicker <bo...@gmail.com>


Re: [VOTE] Log4j 2.0.1 candidate 1

Posted by Bruno Mahé <bm...@tango.me>.
+1 (non-binding)

All tests pass.

Thanks,
Bruno


Le 07/29/2014 06:33 PM, Matt Sicker a écrit :
> This is a vote to release Log4j 2.0.1, the first bug fix release of
> the 2.0 branch of Log4j 2.
>
> Please test and cast your votes.
> [] +1, release the artifacts
> [] -1, don't release because...
>
> The vote will remain open for 72 hours (or more if required). Note
> that binding votes, as usual, are done by PMC members. Non-binding
> votes are welcome from anyone and are always welcome.
>
> This is my first time acting as an RM, so if there are any issues with
> this, please let me know as soon as possible! If you don't already
> have my GPG key, it's key ID FA1C814D which is available on all the
> public GPG servers. Otherwise, you can download it from my Apache site
> at: <http://people.apache.org/~mattsicker/FA1C814D.asc
> <http://people.apache.org/%7Emattsicker/FA1C814D.asc>>
>
> New features:
> o LOG4J2-725:  Added WebLoggerContextUtils class to log4j-web for
> helper methods useful for asynchronous servlets. 
> o LOG4J2-710:  Added documentation for Custom Levels and Custom Loggers. 
>
> Fixed Bugs:
> o LOG4J2-744:  Avoid unnecessary Clock calls when TimestampMessage is
> logged. Thanks to Scott Harrington. 
> o LOG4J2-704:  Improved error message if configuration file not found. 
> o LOG4J2-750:  Webapp configuration page has incorrect class name.
> Thanks to Mike Calmus. 
> o LOG4J2-749:  Retain the default date pattern after fixing the
> ISO8601 pattern. Thanks to Scott Harrington. 
> o LOG4J2-670:  DatePatternConverter ISO8601_PATTERN now conforms to
> ISO8601. 
> o LOG4J2-741:  Reinstate the package configuration attribute for
> discovering custom plugins. 
> o LOG4J2-742:  XInclude not working with relative path. Thanks to
> Pascal Chollet. 
> o LOG4J2-740:  Fixed typo in webapp manual regarding sample web.xml
> file. Thanks to Kosta Krauth. 
> o LOG4J2-738:  RollingFileManager deadlock if async action thread
> fails to start. Thanks to Timothy Stack. 
> o LOG4J2-736:  Fixed log4j-bom so that it won't specify a default
> scope on any third party dependencies. 
> o LOG4J2-735:  Fixed log4j-bom so that it won't interfere with
> spring-bom and others. 
> o LOG4J2-731:  Updated documentation regarding extensions to
> LoggerContextFactory and Log4j 2 providers. 
> o LOG4J2-373:  Fixed ClassLoader issues in loading Log4j providers in
> an OSGi environment. 
> o LOG4J2-719:  Correctly handle NetworkOnMainThreadException thrown on
> Android during Log4j2 initialization. 
> o LOG4J2-716:  Automatically disable log4j JMX when detecting we are
> running on Android. 
> o LOG4J2-657:  Fixed AbstractDatabaseManager to close connection on
> writeInternal error. Thanks to Stefan Wehner. 
> o LOG4J2-713:  Android: java.lang.VerifyError:
> org/apache/logging/log4j/core/util/Closer Thanks to Nelson Melina. 
> o LOG4J2-703:  Android: Could not find class
> 'javax.naming.InitialContext', referenced from method
> org.apache.logging.log4j.core.lookup.JndiLookup.lookup. Thanks to
> Nelson Melina. 
>
> Tag: http://svn.apache.org/repos/asf/logging/log4j/log4j2/tags/log4j-2.0.1/
>
> SVN revision: 1614534
>
> Web Site: http://people.apache.org/~mattsicker/log4j/2.0.1/
> <http://people.apache.org/%7Emattsicker/log4j/2.0.1/>
>
> Artifacts: https://repository.apache.org/content/repositories/orgapachelogging-1005/
>
>
> You may download all the artifacts by executing:
>
> wget -e robots=off --cut-dirs=3 -r -p -np
> --no-check-certificate https://repository.apache.org/content/repositories/orgapachelogging-1005/
>
> -- 
> Matt Sicker <boards@gmail.com <ma...@gmail.com>>


Re: [VOTE] Log4j 2.0.1 candidate 1

Posted by Ralph Goers <ra...@dslextreme.com>.
I apologize. I didn’t get time tonight and it is already well past midnight. I will look at this tomorrow.

Ralph

On Aug 2, 2014, at 5:43 PM, Ralph Goers <Ra...@dslextreme.com> wrote:

> I am just busy at the moment. I will take a look at it later this evening
> 
> Sent from my iPhone
> 
> On Aug 2, 2014, at 5:24 PM, Matt Sicker <bo...@gmail.com> wrote:
> 
>> So we're at +2 binding, +1 non-binding. The initial 72 hours have passed, but we still need another +1. Also, I still need my GPG key added to the KEYS file on the website.
>> 
>> 
>> On 31 July 2014 19:28, Remko Popma <re...@gmail.com> wrote:
>> 
>> 
>> On 2014/08/01, at 8:59, Gary Gregory <ga...@gmail.com> wrote:
>> 
>>> On Thu, Jul 31, 2014 at 7:52 PM, Remko Popma <re...@gmail.com> wrote:
>>> No, CachedClock wasn't changed.  
>>> 
>>> I suppose the test is too strict in that it may fail on slower systems or systems that are busy doing other things at the same time. 
>>> 
>>> I should just remove that test. Gary has mentioned it failing on his machine several times in the past, I think. It is unfortunately not easy to test Clocks otherwise, but this has been an annoyance for too long now. I'll get rid of it. 
>>> 
>>> Gary, with that in mind, can I ask you to reconsider your vote? 
>>> 
>>> That's the kinds of explanation I was looking for. thank you.
>>> 
>>> +1
>> 
>> Great, thank you!
>> 
>> (CC-ing Logging-PMC, that got dropped somewhere.)
>> 
>>> 
>>> Gary 
>>> 
>>> Sent from my iPhone
>>> 
>>> On 2014/08/01, at 8:06, Matt Sicker <bo...@gmail.com> wrote:
>>> 
>>>> Wasn't the CachedClock stuff changed recently? Did that make it into this release?
>>>> 
>>>> 
>>>> On 31 July 2014 17:51, Gary Gregory <ga...@gmail.com> wrote:
>>>> -0:
>>>> 
>>>> I downloaded the src zip and ran "mvn clean test" and got:
>>>> 
>>>> Failed tests:
>>>>   CachedClockTest.testAfterWaitStillLessThan17Millis:33 diff too large: 43
>>>> 
>>>> Tests run: 684, Failures: 1, Errors: 0, Skipped: 28
>>>> 
>>>> [INFO] ------------------------------------------------------------------------
>>>> [INFO] Reactor Summary:
>>>> [INFO]
>>>> [INFO] Apache Log4j 2 ..................................... SUCCESS [  3.427 s]
>>>> [INFO] Apache Log4j API ................................... SUCCESS [ 38.578 s]
>>>> [INFO] Apache Log4j Core .................................. FAILURE [06:41 min]
>>>> 
>>>> Using:
>>>> 
>>>> Apache Maven 3.2.2 (45f7c06d68e745d05611f7fd14efb6594181933e; 2014-06-17T09:51:42-04:00)
>>>> Maven home: C:\Java\apache-maven-3.2.2
>>>> Java version: 1.7.0_60, vendor: Oracle Corporation
>>>> Java home: C:\Program Files\Java\jdk1.7.0_60\jre
>>>> Default locale: en_US, platform encoding: Cp1252
>>>> OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
>>>> 
>>>> This seems like a test too strict or incorrect assumptions about clock granularity on Windows.
>>>> Worse, is that it does not happen every time I run Maven.
>>>> 
>>>> Ideally, I think all of the issues Remko found should be fixed and another RC cut, but they do not feel like "showstoppers", and I am not doing the RM work. Thank you Matt for doing the work.
>>>> 
>>>> The version thing is a bit confusing and I've rewritten this section of my email several times before settling on proposing to use the exact version number consistently: 2.0.1 for this release. Otherwise, talking about "Log4j" is fine, I do not think we need to talk about "Log4j 2" as a general rule. In the migration doc we can talk about "Log4j 1" and "Log4j 2" since context is important. But I can also see that some additional migration docs might only apply to later versions of Log4j where using a specific version will be important.
>>>> 
>>>> The perf module prints out screen after screen of warnings like:
>>>> 
>>>> [WARNING] /C:/temp/rc/apache-log4j-2.0.1-src/log4j-perf/target/generated-sources/annotations/org/apache/logging/log4j/perf/jmh/generated/FormatterLoggerBenchmark_latencyBaseline.java:[53,33] found raw type: org.openjdk.jmh.logic.results.Re
>>>> ult
>>>>   missing type arguments for generic class org.openjdk.jmh.logic.results.Result<T>
>>>> 
>>>> What is that all about?
>>>> 
>>>> Gary
>>>> 
>>>> 
>>>> On Wed, Jul 30, 2014 at 10:57 AM, Remko Popma <re...@gmail.com> wrote:
>>>> +1 Artifacts look good, site looks good.
>>>> 
>>>> Minor issues found (no showstoppers IMO):
>>>> 
>>>> Artifacts
>>>> ---------
>>>> log4j-distribution-2.0.1-bin.zip/apache-log4j-2.0.1-bin/RELEASE-NOTES.txt
>>>> "This is the first GA release, after thirteen prior releases over the last 4 years.
>>>> 
>>>> ?
>>>> 
>>>> Changes in this release..."
>>>> 
>>>> -> Should be "...the second GA release..."
>>>> -> The question mark "?" should probably be "Bug fixes and enhancements"
>>>> 
>>>> 
>>>> Site
>>>> ----
>>>> Download page: "Apache Log4j 2 is signed by Ralph Goers B3D8E1BA"
>>>> -> Is this correct for 2.0.1?
>>>> 
>>>> Project Info > Dependency Convergence: logj2-perf uses disruptor-3.2.1, but log4j-core uses disruptor-3.3.0.
>>>> (Not an issue since log4j-perf is not a distribution artifact.)
>>>> 
>>>> 
>>>> Javadoc: many package docs mention "Log4j 2.0". E.g.
>>>> http://people.apache.org/~mattsicker/log4j/2.0.1/log4j-api/apidocs/index.html
>>>> Sometime in the future we will release version 2.1, 2.2, etc.
>>>> Should we update all Javadoc pages to "Log4j 2" to future-proof them?
>>>> 
>>>> Similarly, the FAQ page mentions "the Log4j 2.0 implementation" and "the Log4j 2.0 API".
>>>> We should probably change this to "the Log4j 2 implementation" and "the Log4j 2 API".
>>>> 
>>>> Manual > Introduction (index.html)
>>>> "The latest log4j version, including full-source code, class files and 
>>>>  documentation can be found at http://logging.apache.org/log4j/2.0/index.html."
>>>> -> We should change that link to http://logging.apache.org/log4j/2.x/index.html
>>>>    (It looks like 2.0 and 2.x both work as URLs.)
>>>> 
>>>> Manual > Log4j 1.x Migration also has a few mentions of "2.0".
>>>> Manual > Configuration page has one mention of "2.0".
>>>> Manual > JMX has six places where log4j-api-2.0.jar etc are mentioned. 
>>>> 		-> Can we make these variables to they change with the ${project.version}?
>>>> Manual > Custom Log Levels has two places where log4j-core.2.0.jar is mentioned.
>>>> 		-> Can we make these variables to they change with the ${project.version}?
>>>> 
>>>> Manual > Layouts > PatternLayout, %d pattern examples:
>>>> %d{HH:mm:ss}{GMT+0}	18:34:02,781 <- this does not look right? The result has millis instead of timezone...
>>>> 
>>>> Manual > Architecture > LoggerConfig > Log Levels: (we may want to rewrite the text below)
>>>> The set of possible levels includes TRACE, DEBUG, INFO, WARN, ERROR, and FATAL.
>>>> Note that in Log4j 2, the Level is an Enum and cannot be sub-classed.
>>>> Users who desire more granularity are encouraged to use Markers instead.
>>>> 
>>>> Manual > Extending Log4j > ContextSelector: missing AsyncLoggerContextSelector
>>>> 
>>>> 
>>>> 
>>>> On Wed, Jul 30, 2014 at 10:33 AM, Matt Sicker <bo...@gmail.com> wrote:
>>>> This is a vote to release Log4j 2.0.1, the first bug fix release of the 2.0 branch of Log4j 2.
>>>> 
>>>> Please test and cast your votes.
>>>> [] +1, release the artifacts
>>>> [] -1, don't release because...
>>>> 
>>>> The vote will remain open for 72 hours (or more if required). Note that binding votes, as usual, are done by PMC members. Non-binding votes are welcome from anyone and are always welcome.
>>>> 
>>>> This is my first time acting as an RM, so if there are any issues with this, please let me know as soon as possible! If you don't already have my GPG key, it's key ID FA1C814D which is available on all the public GPG servers. Otherwise, you can download it from my Apache site at: <http://people.apache.org/~mattsicker/FA1C814D.asc>
>>>> 
>>>> New features:
>>>> o LOG4J2-725:  Added WebLoggerContextUtils class to log4j-web for helper methods useful for asynchronous servlets. 
>>>> o LOG4J2-710:  Added documentation for Custom Levels and Custom Loggers. 
>>>> 
>>>> Fixed Bugs:
>>>> o LOG4J2-744:  Avoid unnecessary Clock calls when TimestampMessage is logged. Thanks to Scott Harrington. 
>>>> o LOG4J2-704:  Improved error message if configuration file not found. 
>>>> o LOG4J2-750:  Webapp configuration page has incorrect class name. Thanks to Mike Calmus. 
>>>> o LOG4J2-749:  Retain the default date pattern after fixing the ISO8601 pattern. Thanks to Scott Harrington. 
>>>> o LOG4J2-670:  DatePatternConverter ISO8601_PATTERN now conforms to ISO8601. 
>>>> o LOG4J2-741:  Reinstate the package configuration attribute for discovering custom plugins. 
>>>> o LOG4J2-742:  XInclude not working with relative path. Thanks to Pascal Chollet. 
>>>> o LOG4J2-740:  Fixed typo in webapp manual regarding sample web.xml file. Thanks to Kosta Krauth. 
>>>> o LOG4J2-738:  RollingFileManager deadlock if async action thread fails to start. Thanks to Timothy Stack. 
>>>> o LOG4J2-736:  Fixed log4j-bom so that it won't specify a default scope on any third party dependencies. 
>>>> o LOG4J2-735:  Fixed log4j-bom so that it won't interfere with spring-bom and others. 
>>>> o LOG4J2-731:  Updated documentation regarding extensions to LoggerContextFactory and Log4j 2 providers. 
>>>> o LOG4J2-373:  Fixed ClassLoader issues in loading Log4j providers in an OSGi environment. 
>>>> o LOG4J2-719:  Correctly handle NetworkOnMainThreadException thrown on Android during Log4j2 initialization. 
>>>> o LOG4J2-716:  Automatically disable log4j JMX when detecting we are running on Android. 
>>>> o LOG4J2-657:  Fixed AbstractDatabaseManager to close connection on writeInternal error. Thanks to Stefan Wehner. 
>>>> o LOG4J2-713:  Android: java.lang.VerifyError: org/apache/logging/log4j/core/util/Closer Thanks to Nelson Melina. 
>>>> o LOG4J2-703:  Android: Could not find class 'javax.naming.InitialContext', referenced from method org.apache.logging.log4j.core.lookup.JndiLookup.lookup. Thanks to Nelson Melina. 
>>>> 
>>>> Tag: http://svn.apache.org/repos/asf/logging/log4j/log4j2/tags/log4j-2.0.1/
>>>> 
>>>> SVN revision: 1614534
>>>> 
>>>> Web Site: http://people.apache.org/~mattsicker/log4j/2.0.1/
>>>> 
>>>> Artifacts: https://repository.apache.org/content/repositories/orgapachelogging-1005/
>>>> 
>>>> You may download all the artifacts by executing:
>>>> 
>>>> wget -e robots=off --cut-dirs=3 -r -p -np --no-check-certificate https://repository.apache.org/content/repositories/orgapachelogging-1005/
>>>> 
>>>> -- 
>>>> Matt Sicker <bo...@gmail.com>
>>>> 
>>>> 
>>>> 
>>>> 
>>>> -- 
>>>> E-Mail: garydgregory@gmail.com | ggregory@apache.org 
>>>> Java Persistence with Hibernate, Second Edition
>>>> JUnit in Action, Second Edition
>>>> Spring Batch in Action
>>>> Blog: http://garygregory.wordpress.com 
>>>> Home: http://garygregory.com/
>>>> Tweet! http://twitter.com/GaryGregory
>>>> 
>>>> 
>>>> 
>>>> -- 
>>>> Matt Sicker <bo...@gmail.com>
>>> 
>>> 
>>> 
>>> -- 
>>> E-Mail: garydgregory@gmail.com | ggregory@apache.org 
>>> Java Persistence with Hibernate, Second Edition
>>> JUnit in Action, Second Edition
>>> Spring Batch in Action
>>> Blog: http://garygregory.wordpress.com 
>>> Home: http://garygregory.com/
>>> Tweet! http://twitter.com/GaryGregory
>> 
>> 
>> 
>> -- 
>> Matt Sicker <bo...@gmail.com>


Re: [VOTE] Log4j 2.0.1 candidate 1

Posted by Ralph Goers <ra...@dslextreme.com>.
I am just busy at the moment. I will take a look at it later this evening

Sent from my iPhone

> On Aug 2, 2014, at 5:24 PM, Matt Sicker <bo...@gmail.com> wrote:
> 
> So we're at +2 binding, +1 non-binding. The initial 72 hours have passed, but we still need another +1. Also, I still need my GPG key added to the KEYS file on the website.
> 
> 
>> On 31 July 2014 19:28, Remko Popma <re...@gmail.com> wrote:
>> 
>> 
>>> On 2014/08/01, at 8:59, Gary Gregory <ga...@gmail.com> wrote:
>>> 
>>>> On Thu, Jul 31, 2014 at 7:52 PM, Remko Popma <re...@gmail.com> wrote:
>>>> No, CachedClock wasn't changed.  
>>>> 
>>>> I suppose the test is too strict in that it may fail on slower systems or systems that are busy doing other things at the same time. 
>>>> 
>>>> I should just remove that test. Gary has mentioned it failing on his machine several times in the past, I think. It is unfortunately not easy to test Clocks otherwise, but this has been an annoyance for too long now. I'll get rid of it. 
>>>> 
>>>> Gary, with that in mind, can I ask you to reconsider your vote? 
>>> 
>>> That's the kinds of explanation I was looking for. thank you.
>>> 
>>> +1
>> 
>> Great, thank you!
>> 
>> (CC-ing Logging-PMC, that got dropped somewhere.)
>> 
>>> 
>>> Gary 
>>>> 
>>>> Sent from my iPhone
>>>> 
>>>>> On 2014/08/01, at 8:06, Matt Sicker <bo...@gmail.com> wrote:
>>>>> 
>>>>> Wasn't the CachedClock stuff changed recently? Did that make it into this release?
>>>>> 
>>>>> 
>>>>>> On 31 July 2014 17:51, Gary Gregory <ga...@gmail.com> wrote:
>>>>>> -0:
>>>>>> 
>>>>>> I downloaded the src zip and ran "mvn clean test" and got:
>>>>>> 
>>>>>> Failed tests:
>>>>>>   CachedClockTest.testAfterWaitStillLessThan17Millis:33 diff too large: 43
>>>>>> 
>>>>>> Tests run: 684, Failures: 1, Errors: 0, Skipped: 28
>>>>>> 
>>>>>> [INFO] ------------------------------------------------------------------------
>>>>>> [INFO] Reactor Summary:
>>>>>> [INFO]
>>>>>> [INFO] Apache Log4j 2 ..................................... SUCCESS [  3.427 s]
>>>>>> [INFO] Apache Log4j API ................................... SUCCESS [ 38.578 s]
>>>>>> [INFO] Apache Log4j Core .................................. FAILURE [06:41 min]
>>>>>> 
>>>>>> Using:
>>>>>> 
>>>>>> Apache Maven 3.2.2 (45f7c06d68e745d05611f7fd14efb6594181933e; 2014-06-17T09:51:42-04:00)
>>>>>> Maven home: C:\Java\apache-maven-3.2.2
>>>>>> Java version: 1.7.0_60, vendor: Oracle Corporation
>>>>>> Java home: C:\Program Files\Java\jdk1.7.0_60\jre
>>>>>> Default locale: en_US, platform encoding: Cp1252
>>>>>> OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
>>>>>> 
>>>>>> This seems like a test too strict or incorrect assumptions about clock granularity on Windows.
>>>>>> Worse, is that it does not happen every time I run Maven.
>>>>>> 
>>>>>> Ideally, I think all of the issues Remko found should be fixed and another RC cut, but they do not feel like "showstoppers", and I am not doing the RM work. Thank you Matt for doing the work.
>>>>>> 
>>>>>> The version thing is a bit confusing and I've rewritten this section of my email several times before settling on proposing to use the exact version number consistently: 2.0.1 for this release. Otherwise, talking about "Log4j" is fine, I do not think we need to talk about "Log4j 2" as a general rule. In the migration doc we can talk about "Log4j 1" and "Log4j 2" since context is important. But I can also see that some additional migration docs might only apply to later versions of Log4j where using a specific version will be important.
>>>>>> 
>>>>>> The perf module prints out screen after screen of warnings like:
>>>>>> 
>>>>>> [WARNING] /C:/temp/rc/apache-log4j-2.0.1-src/log4j-perf/target/generated-sources/annotations/org/apache/logging/log4j/perf/jmh/generated/FormatterLoggerBenchmark_latencyBaseline.java:[53,33] found raw type: org.openjdk.jmh.logic.results.Re
>>>>>> ult
>>>>>>   missing type arguments for generic class org.openjdk.jmh.logic.results.Result<T>
>>>>>> 
>>>>>> What is that all about?
>>>>>> 
>>>>>> Gary
>>>>>> 
>>>>>> 
>>>>>>> On Wed, Jul 30, 2014 at 10:57 AM, Remko Popma <re...@gmail.com> wrote:
>>>>>>> +1 Artifacts look good, site looks good.
>>>>>>> 
>>>>>>> Minor issues found (no showstoppers IMO):
>>>>>>> 
>>>>>>> Artifacts
>>>>>>> ---------
>>>>>>> log4j-distribution-2.0.1-bin.zip/apache-log4j-2.0.1-bin/RELEASE-NOTES.txt
>>>>>>> "This is the first GA release, after thirteen prior releases over the last 4 years.
>>>>>>> 
>>>>>>> ?
>>>>>>> 
>>>>>>> Changes in this release..."
>>>>>>> 
>>>>>>> -> Should be "...the second GA release..."
>>>>>>> -> The question mark "?" should probably be "Bug fixes and enhancements"
>>>>>>> 
>>>>>>> 
>>>>>>> Site
>>>>>>> ----
>>>>>>> Download page: "Apache Log4j 2 is signed by Ralph Goers B3D8E1BA"
>>>>>>> -> Is this correct for 2.0.1?
>>>>>>> 
>>>>>>> Project Info > Dependency Convergence: logj2-perf uses disruptor-3.2.1, but log4j-core uses disruptor-3.3.0.
>>>>>>> (Not an issue since log4j-perf is not a distribution artifact.)
>>>>>>> 
>>>>>>> 
>>>>>>> Javadoc: many package docs mention "Log4j 2.0". E.g.
>>>>>>> http://people.apache.org/~mattsicker/log4j/2.0.1/log4j-api/apidocs/index.html
>>>>>>> Sometime in the future we will release version 2.1, 2.2, etc.
>>>>>>> Should we update all Javadoc pages to "Log4j 2" to future-proof them?
>>>>>>> 
>>>>>>> Similarly, the FAQ page mentions "the Log4j 2.0 implementation" and "the Log4j 2.0 API".
>>>>>>> We should probably change this to "the Log4j 2 implementation" and "the Log4j 2 API".
>>>>>>> 
>>>>>>> Manual > Introduction (index.html)
>>>>>>> "The latest log4j version, including full-source code, class files and 
>>>>>>>  documentation can be found at http://logging.apache.org/log4j/2.0/index.html."
>>>>>>> -> We should change that link to http://logging.apache.org/log4j/2.x/index.html
>>>>>>>    (It looks like 2.0 and 2.x both work as URLs.)
>>>>>>> 
>>>>>>> Manual > Log4j 1.x Migration also has a few mentions of "2.0".
>>>>>>> Manual > Configuration page has one mention of "2.0".
>>>>>>> Manual > JMX has six places where log4j-api-2.0.jar etc are mentioned. 
>>>>>>> 		-> Can we make these variables to they change with the ${project.version}?
>>>>>>> Manual > Custom Log Levels has two places where log4j-core.2.0.jar is mentioned.
>>>>>>> 		-> Can we make these variables to they change with the ${project.version}?
>>>>>>> 
>>>>>>> Manual > Layouts > PatternLayout, %d pattern examples:
>>>>>>> %d{HH:mm:ss}{GMT+0}	18:34:02,781 <- this does not look right? The result has millis instead of timezone...
>>>>>>> 
>>>>>>> Manual > Architecture > LoggerConfig > Log Levels: (we may want to rewrite the text below)
>>>>>>> The set of possible levels includes TRACE, DEBUG, INFO, WARN, ERROR, and FATAL.
>>>>>>> Note that in Log4j 2, the Level is an Enum and cannot be sub-classed.
>>>>>>> Users who desire more granularity are encouraged to use Markers instead.
>>>>>>> 
>>>>>>> Manual > Extending Log4j > ContextSelector: missing AsyncLoggerContextSelector
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>>> On Wed, Jul 30, 2014 at 10:33 AM, Matt Sicker <bo...@gmail.com> wrote:
>>>>>>>> This is a vote to release Log4j 2.0.1, the first bug fix release of the 2.0 branch of Log4j 2.
>>>>>>>> 
>>>>>>>> Please test and cast your votes.
>>>>>>>> [] +1, release the artifacts
>>>>>>>> [] -1, don't release because...
>>>>>>>> 
>>>>>>>> The vote will remain open for 72 hours (or more if required). Note that binding votes, as usual, are done by PMC members. Non-binding votes are welcome from anyone and are always welcome.
>>>>>>>> 
>>>>>>>> This is my first time acting as an RM, so if there are any issues with this, please let me know as soon as possible! If you don't already have my GPG key, it's key ID FA1C814D which is available on all the public GPG servers. Otherwise, you can download it from my Apache site at: <http://people.apache.org/~mattsicker/FA1C814D.asc>
>>>>>>>> 
>>>>>>>> New features:
>>>>>>>> o LOG4J2-725:  Added WebLoggerContextUtils class to log4j-web for helper methods useful for asynchronous servlets. 
>>>>>>>> o LOG4J2-710:  Added documentation for Custom Levels and Custom Loggers. 
>>>>>>>> 
>>>>>>>> Fixed Bugs:
>>>>>>>> o LOG4J2-744:  Avoid unnecessary Clock calls when TimestampMessage is logged. Thanks to Scott Harrington. 
>>>>>>>> o LOG4J2-704:  Improved error message if configuration file not found. 
>>>>>>>> o LOG4J2-750:  Webapp configuration page has incorrect class name. Thanks to Mike Calmus. 
>>>>>>>> o LOG4J2-749:  Retain the default date pattern after fixing the ISO8601 pattern. Thanks to Scott Harrington. 
>>>>>>>> o LOG4J2-670:  DatePatternConverter ISO8601_PATTERN now conforms to ISO8601. 
>>>>>>>> o LOG4J2-741:  Reinstate the package configuration attribute for discovering custom plugins. 
>>>>>>>> o LOG4J2-742:  XInclude not working with relative path. Thanks to Pascal Chollet. 
>>>>>>>> o LOG4J2-740:  Fixed typo in webapp manual regarding sample web.xml file. Thanks to Kosta Krauth. 
>>>>>>>> o LOG4J2-738:  RollingFileManager deadlock if async action thread fails to start. Thanks to Timothy Stack. 
>>>>>>>> o LOG4J2-736:  Fixed log4j-bom so that it won't specify a default scope on any third party dependencies. 
>>>>>>>> o LOG4J2-735:  Fixed log4j-bom so that it won't interfere with spring-bom and others. 
>>>>>>>> o LOG4J2-731:  Updated documentation regarding extensions to LoggerContextFactory and Log4j 2 providers. 
>>>>>>>> o LOG4J2-373:  Fixed ClassLoader issues in loading Log4j providers in an OSGi environment. 
>>>>>>>> o LOG4J2-719:  Correctly handle NetworkOnMainThreadException thrown on Android during Log4j2 initialization. 
>>>>>>>> o LOG4J2-716:  Automatically disable log4j JMX when detecting we are running on Android. 
>>>>>>>> o LOG4J2-657:  Fixed AbstractDatabaseManager to close connection on writeInternal error. Thanks to Stefan Wehner. 
>>>>>>>> o LOG4J2-713:  Android: java.lang.VerifyError: org/apache/logging/log4j/core/util/Closer Thanks to Nelson Melina. 
>>>>>>>> o LOG4J2-703:  Android: Could not find class 'javax.naming.InitialContext', referenced from method org.apache.logging.log4j.core.lookup.JndiLookup.lookup. Thanks to Nelson Melina. 
>>>>>>>> 
>>>>>>>> Tag: http://svn.apache.org/repos/asf/logging/log4j/log4j2/tags/log4j-2.0.1/
>>>>>>>> 
>>>>>>>> SVN revision: 1614534
>>>>>>>> 
>>>>>>>> Web Site: http://people.apache.org/~mattsicker/log4j/2.0.1/
>>>>>>>> 
>>>>>>>> Artifacts: https://repository.apache.org/content/repositories/orgapachelogging-1005/
>>>>>>>> 
>>>>>>>> You may download all the artifacts by executing:
>>>>>>>> 
>>>>>>>> wget -e robots=off --cut-dirs=3 -r -p -np --no-check-certificate https://repository.apache.org/content/repositories/orgapachelogging-1005/
>>>>>>>> 
>>>>>>>> -- 
>>>>>>>> Matt Sicker <bo...@gmail.com>
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> -- 
>>>>>> E-Mail: garydgregory@gmail.com | ggregory@apache.org 
>>>>>> Java Persistence with Hibernate, Second Edition
>>>>>> JUnit in Action, Second Edition
>>>>>> Spring Batch in Action
>>>>>> Blog: http://garygregory.wordpress.com 
>>>>>> Home: http://garygregory.com/
>>>>>> Tweet! http://twitter.com/GaryGregory
>>>>> 
>>>>> 
>>>>> 
>>>>> -- 
>>>>> Matt Sicker <bo...@gmail.com>
>>> 
>>> 
>>> 
>>> -- 
>>> E-Mail: garydgregory@gmail.com | ggregory@apache.org 
>>> Java Persistence with Hibernate, Second Edition
>>> JUnit in Action, Second Edition
>>> Spring Batch in Action
>>> Blog: http://garygregory.wordpress.com 
>>> Home: http://garygregory.com/
>>> Tweet! http://twitter.com/GaryGregory
> 
> 
> 
> -- 
> Matt Sicker <bo...@gmail.com>

Re: [VOTE] Log4j 2.0.1 candidate 1

Posted by Matt Sicker <bo...@gmail.com>.
So we're at +2 binding, +1 non-binding. The initial 72 hours have passed,
but we still need another +1. Also, I still need my GPG key added to the
KEYS file on the website.


On 31 July 2014 19:28, Remko Popma <re...@gmail.com> wrote:

>
>
> On 2014/08/01, at 8:59, Gary Gregory <ga...@gmail.com> wrote:
>
> On Thu, Jul 31, 2014 at 7:52 PM, Remko Popma <re...@gmail.com>
> wrote:
>
>> No, CachedClock wasn't changed.
>>
>> I suppose the test is too strict in that it may fail on slower systems or
>> systems that are busy doing other things at the same time.
>>
>> I should just remove that test. Gary has mentioned it failing on his
>> machine several times in the past, I think. It is unfortunately not easy to
>> test Clocks otherwise, but this has been an annoyance for too long now.
>> I'll get rid of it.
>>
>> Gary, with that in mind, can I ask you to reconsider your vote?
>>
>
> That's the kinds of explanation I was looking for. thank you.
>
> +1
>
> Great, thank you!
>
> (CC-ing Logging-PMC, that got dropped somewhere.)
>
>
> Gary
>
>>
>> Sent from my iPhone
>>
>> On 2014/08/01, at 8:06, Matt Sicker <bo...@gmail.com> wrote:
>>
>> Wasn't the CachedClock stuff changed recently? Did that make it into this
>> release?
>>
>>
>> On 31 July 2014 17:51, Gary Gregory <ga...@gmail.com> wrote:
>>
>>> -0:
>>>
>>> I downloaded the src zip and ran "mvn clean test" and got:
>>>
>>> Failed tests:
>>>   CachedClockTest.testAfterWaitStillLessThan17Millis:33 diff too large:
>>> 43
>>>
>>> Tests run: 684, Failures: 1, Errors: 0, Skipped: 28
>>>
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Reactor Summary:
>>> [INFO]
>>> [INFO] Apache Log4j 2 ..................................... SUCCESS [
>>> 3.427 s]
>>> [INFO] Apache Log4j API ................................... SUCCESS [
>>> 38.578 s]
>>> [INFO] Apache Log4j Core .................................. FAILURE
>>> [06:41 min]
>>>
>>> Using:
>>>
>>> Apache Maven 3.2.2 (45f7c06d68e745d05611f7fd14efb6594181933e;
>>> 2014-06-17T09:51:42-04:00)
>>> Maven home: C:\Java\apache-maven-3.2.2
>>> Java version: 1.7.0_60, vendor: Oracle Corporation
>>> Java home: C:\Program Files\Java\jdk1.7.0_60\jre
>>> Default locale: en_US, platform encoding: Cp1252
>>> OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
>>>
>>> This seems like a test too strict or incorrect assumptions about clock
>>> granularity on Windows.
>>> Worse, is that it does not happen every time I run Maven.
>>>
>>> Ideally, I think all of the issues Remko found should be fixed and
>>> another RC cut, but they do not feel like "showstoppers", and I am not
>>> doing the RM work. Thank you Matt for doing the work.
>>>
>>> The version thing is a bit confusing and I've rewritten this section of
>>> my email several times before settling on proposing to use the exact
>>> version number consistently: 2.0.1 for this release. Otherwise, talking
>>> about "Log4j" is fine, I do not think we need to talk about "Log4j 2" as a
>>> general rule. In the migration doc we can talk about "Log4j 1" and "Log4j
>>> 2" since context is important. But I can also see that some additional
>>> migration docs might only apply to later versions of Log4j where using a
>>> specific version will be important.
>>>
>>> The perf module prints out screen after screen of warnings like:
>>>
>>> [WARNING]
>>> /C:/temp/rc/apache-log4j-2.0.1-src/log4j-perf/target/generated-sources/annotations/org/apache/logging/log4j/perf/jmh/generated/FormatterLoggerBenchmark_latencyBaseline.java:[53,33]
>>> found raw type: org.openjdk.jmh.logic.results.Re
>>> ult
>>>   missing type arguments for generic class
>>> org.openjdk.jmh.logic.results.Result<T>
>>>
>>> What is that all about?
>>>
>>> Gary
>>>
>>>
>>> On Wed, Jul 30, 2014 at 10:57 AM, Remko Popma <re...@gmail.com>
>>> wrote:
>>>
>>>> +1 Artifacts look good, site looks good.
>>>>
>>>> Minor issues found (no showstoppers IMO):
>>>>
>>>> Artifacts
>>>> ---------
>>>>
>>>> log4j-distribution-2.0.1-bin.zip/apache-log4j-2.0.1-bin/RELEASE-NOTES.txt
>>>> "This is the first GA release, after thirteen prior releases over the
>>>> last 4 years.
>>>>
>>>> ?
>>>>
>>>> Changes in this release..."
>>>>
>>>> -> Should be "...the second GA release..."
>>>> -> The question mark "?" should probably be "Bug fixes and enhancements"
>>>>
>>>>
>>>> Site
>>>> ----
>>>> Download page: "Apache Log4j 2 is signed by Ralph Goers B3D8E1BA"
>>>> -> Is this correct for 2.0.1?
>>>>
>>>> Project Info > Dependency Convergence: logj2-perf uses disruptor-3.2.1,
>>>> but log4j-core uses disruptor-3.3.0.
>>>> (Not an issue since log4j-perf is not a distribution artifact.)
>>>>
>>>>
>>>> Javadoc: many package docs mention "Log4j 2.0". E.g.
>>>>
>>>> http://people.apache.org/~mattsicker/log4j/2.0.1/log4j-api/apidocs/index.html
>>>> Sometime in the future we will release version 2.1, 2.2, etc.
>>>> Should we update all Javadoc pages to "Log4j 2" to future-proof them?
>>>>
>>>> Similarly, the FAQ page mentions "the Log4j 2.0 implementation" and
>>>> "the Log4j 2.0 API".
>>>> We should probably change this to "the Log4j 2 implementation" and "the
>>>> Log4j 2 API".
>>>>
>>>> Manual > Introduction (index.html)
>>>> "The latest log4j version, including full-source code, class files and
>>>>  documentation can be found at
>>>> http://logging.apache.org/log4j/2.0/index.html."
>>>> -> We should change that link to
>>>> http://logging.apache.org/log4j/2.x/index.html
>>>>    (It looks like 2.0 and 2.x both work as URLs.)
>>>>
>>>> Manual > Log4j 1.x Migration also has a few mentions of "2.0".
>>>> Manual > Configuration page has one mention of "2.0".
>>>> Manual > JMX has six places where log4j-api-2.0.jar etc are mentioned.
>>>> -> Can we make these variables to they change with the
>>>> ${project.version}?
>>>> Manual > Custom Log Levels has two places where log4j-core.2.0.jar is
>>>> mentioned.
>>>> -> Can we make these variables to they change with the
>>>> ${project.version}?
>>>>
>>>> Manual > Layouts > PatternLayout, %d pattern examples:
>>>> %d{HH:mm:ss}{GMT+0} 18:34:02,781 <- this does not look right? The
>>>> result has millis instead of timezone...
>>>>
>>>> Manual > Architecture > LoggerConfig > Log Levels: (we may want to
>>>> rewrite the text below)
>>>> The set of possible levels includes TRACE, DEBUG, INFO, WARN, ERROR,
>>>> and FATAL.
>>>> Note that in Log4j 2, the Level is an Enum and cannot be sub-classed.
>>>> Users who desire more granularity are encouraged to use Markers instead.
>>>>
>>>> Manual > Extending Log4j > ContextSelector: missing
>>>> AsyncLoggerContextSelector
>>>>
>>>>
>>>>
>>>> On Wed, Jul 30, 2014 at 10:33 AM, Matt Sicker <bo...@gmail.com> wrote:
>>>>
>>>>> This is a vote to release Log4j 2.0.1, the first bug fix release of
>>>>> the 2.0 branch of Log4j 2.
>>>>>
>>>>> Please test and cast your votes.
>>>>> [] +1, release the artifacts
>>>>> [] -1, don't release because...
>>>>>
>>>>> The vote will remain open for 72 hours (or more if required). Note
>>>>> that binding votes, as usual, are done by PMC members. Non-binding votes
>>>>> are welcome from anyone and are always welcome.
>>>>>
>>>>> This is my first time acting as an RM, so if there are any issues with
>>>>> this, please let me know as soon as possible! If you don't already have my
>>>>> GPG key, it's key ID FA1C814D which is available on all the public GPG
>>>>> servers. Otherwise, you can download it from my Apache site at: <
>>>>> http://people.apache.org/~mattsicker/FA1C814D.asc>
>>>>>
>>>>> New features:
>>>>> o LOG4J2-725:  Added WebLoggerContextUtils class to log4j-web for
>>>>> helper methods useful for asynchronous servlets.
>>>>> o LOG4J2-710:  Added documentation for Custom Levels and Custom
>>>>> Loggers.
>>>>>
>>>>> Fixed Bugs:
>>>>> o LOG4J2-744:  Avoid unnecessary Clock calls when TimestampMessage is
>>>>> logged. Thanks to Scott Harrington.
>>>>> o LOG4J2-704:  Improved error message if configuration file not found.
>>>>> o LOG4J2-750:  Webapp configuration page has incorrect class name.
>>>>> Thanks to Mike Calmus.
>>>>> o LOG4J2-749:  Retain the default date pattern after fixing the
>>>>> ISO8601 pattern. Thanks to Scott Harrington.
>>>>> o LOG4J2-670:  DatePatternConverter ISO8601_PATTERN now conforms to
>>>>> ISO8601.
>>>>> o LOG4J2-741:  Reinstate the package configuration attribute for
>>>>> discovering custom plugins.
>>>>> o LOG4J2-742:  XInclude not working with relative path. Thanks to
>>>>> Pascal Chollet.
>>>>> o LOG4J2-740:  Fixed typo in webapp manual regarding sample web.xml
>>>>> file. Thanks to Kosta Krauth.
>>>>> o LOG4J2-738:  RollingFileManager deadlock if async action thread
>>>>> fails to start. Thanks to Timothy Stack.
>>>>> o LOG4J2-736:  Fixed log4j-bom so that it won't specify a default
>>>>> scope on any third party dependencies.
>>>>> o LOG4J2-735:  Fixed log4j-bom so that it won't interfere with
>>>>> spring-bom and others.
>>>>> o LOG4J2-731:  Updated documentation regarding extensions to
>>>>> LoggerContextFactory and Log4j 2 providers.
>>>>> o LOG4J2-373:  Fixed ClassLoader issues in loading Log4j providers in
>>>>> an OSGi environment.
>>>>> o LOG4J2-719:  Correctly handle NetworkOnMainThreadException thrown on
>>>>> Android during Log4j2 initialization.
>>>>> o LOG4J2-716:  Automatically disable log4j JMX when detecting we are
>>>>> running on Android.
>>>>> o LOG4J2-657:  Fixed AbstractDatabaseManager to close connection on
>>>>> writeInternal error. Thanks to Stefan Wehner.
>>>>> o LOG4J2-713:  Android: java.lang.VerifyError:
>>>>> org/apache/logging/log4j/core/util/Closer Thanks to Nelson Melina.
>>>>> o LOG4J2-703:  Android: Could not find class
>>>>> 'javax.naming.InitialContext', referenced from method
>>>>> org.apache.logging.log4j.core.lookup.JndiLookup.lookup. Thanks to Nelson
>>>>> Melina.
>>>>>
>>>>> Tag:
>>>>> http://svn.apache.org/repos/asf/logging/log4j/log4j2/tags/log4j-2.0.1/
>>>>>
>>>>> SVN revision: 1614534
>>>>>
>>>>> Web Site: http://people.apache.org/~mattsicker/log4j/2.0.1/
>>>>>
>>>>> Artifacts:
>>>>> https://repository.apache.org/content/repositories/orgapachelogging-1005/
>>>>>
>>>>> You may download all the artifacts by executing:
>>>>>
>>>>> wget -e robots=off --cut-dirs=3 -r -p -np --no-check-certificate
>>>>> https://repository.apache.org/content/repositories/orgapachelogging-1005/
>>>>>
>>>>> --
>>>>> Matt Sicker <bo...@gmail.com>
>>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> E-Mail: garydgregory@gmail.com | ggregory@apache.org
>>> Java Persistence with Hibernate, Second Edition
>>> <http://www.manning.com/bauer3/>
>>> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
>>> Spring Batch in Action <http://www.manning.com/templier/>
>>> Blog: http://garygregory.wordpress.com
>>> Home: http://garygregory.com/
>>> Tweet! http://twitter.com/GaryGregory
>>>
>>
>>
>>
>> --
>> Matt Sicker <bo...@gmail.com>
>>
>>
>
>
> --
> E-Mail: garydgregory@gmail.com | ggregory@apache.org
> Java Persistence with Hibernate, Second Edition
> <http://www.manning.com/bauer3/>
> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
> Spring Batch in Action <http://www.manning.com/templier/>
> Blog: http://garygregory.wordpress.com
> Home: http://garygregory.com/
> Tweet! http://twitter.com/GaryGregory
>
>


-- 
Matt Sicker <bo...@gmail.com>

Re: [VOTE] Log4j 2.0.1 candidate 1

Posted by Remko Popma <re...@gmail.com>.

> On 2014/08/01, at 8:59, Gary Gregory <ga...@gmail.com> wrote:
> 
>> On Thu, Jul 31, 2014 at 7:52 PM, Remko Popma <re...@gmail.com> wrote:
>> No, CachedClock wasn't changed.  
>> 
>> I suppose the test is too strict in that it may fail on slower systems or systems that are busy doing other things at the same time. 
>> 
>> I should just remove that test. Gary has mentioned it failing on his machine several times in the past, I think. It is unfortunately not easy to test Clocks otherwise, but this has been an annoyance for too long now. I'll get rid of it. 
>> 
>> Gary, with that in mind, can I ask you to reconsider your vote? 
> 
> That's the kinds of explanation I was looking for. thank you.
> 
> +1
Great, thank you!

(CC-ing Logging-PMC, that got dropped somewhere.)

> 
> Gary 
>> 
>> Sent from my iPhone
>> 
>>> On 2014/08/01, at 8:06, Matt Sicker <bo...@gmail.com> wrote:
>>> 
>>> Wasn't the CachedClock stuff changed recently? Did that make it into this release?
>>> 
>>> 
>>>> On 31 July 2014 17:51, Gary Gregory <ga...@gmail.com> wrote:
>>>> -0:
>>>> 
>>>> I downloaded the src zip and ran "mvn clean test" and got:
>>>> 
>>>> Failed tests:
>>>>   CachedClockTest.testAfterWaitStillLessThan17Millis:33 diff too large: 43
>>>> 
>>>> Tests run: 684, Failures: 1, Errors: 0, Skipped: 28
>>>> 
>>>> [INFO] ------------------------------------------------------------------------
>>>> [INFO] Reactor Summary:
>>>> [INFO]
>>>> [INFO] Apache Log4j 2 ..................................... SUCCESS [  3.427 s]
>>>> [INFO] Apache Log4j API ................................... SUCCESS [ 38.578 s]
>>>> [INFO] Apache Log4j Core .................................. FAILURE [06:41 min]
>>>> 
>>>> Using:
>>>> 
>>>> Apache Maven 3.2.2 (45f7c06d68e745d05611f7fd14efb6594181933e; 2014-06-17T09:51:42-04:00)
>>>> Maven home: C:\Java\apache-maven-3.2.2
>>>> Java version: 1.7.0_60, vendor: Oracle Corporation
>>>> Java home: C:\Program Files\Java\jdk1.7.0_60\jre
>>>> Default locale: en_US, platform encoding: Cp1252
>>>> OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
>>>> 
>>>> This seems like a test too strict or incorrect assumptions about clock granularity on Windows.
>>>> Worse, is that it does not happen every time I run Maven.
>>>> 
>>>> Ideally, I think all of the issues Remko found should be fixed and another RC cut, but they do not feel like "showstoppers", and I am not doing the RM work. Thank you Matt for doing the work.
>>>> 
>>>> The version thing is a bit confusing and I've rewritten this section of my email several times before settling on proposing to use the exact version number consistently: 2.0.1 for this release. Otherwise, talking about "Log4j" is fine, I do not think we need to talk about "Log4j 2" as a general rule. In the migration doc we can talk about "Log4j 1" and "Log4j 2" since context is important. But I can also see that some additional migration docs might only apply to later versions of Log4j where using a specific version will be important.
>>>> 
>>>> The perf module prints out screen after screen of warnings like:
>>>> 
>>>> [WARNING] /C:/temp/rc/apache-log4j-2.0.1-src/log4j-perf/target/generated-sources/annotations/org/apache/logging/log4j/perf/jmh/generated/FormatterLoggerBenchmark_latencyBaseline.java:[53,33] found raw type: org.openjdk.jmh.logic.results.Re
>>>> ult
>>>>   missing type arguments for generic class org.openjdk.jmh.logic.results.Result<T>
>>>> 
>>>> What is that all about?
>>>> 
>>>> Gary
>>>> 
>>>> 
>>>>> On Wed, Jul 30, 2014 at 10:57 AM, Remko Popma <re...@gmail.com> wrote:
>>>>> +1 Artifacts look good, site looks good.
>>>>> 
>>>>> Minor issues found (no showstoppers IMO):
>>>>> 
>>>>> Artifacts
>>>>> ---------
>>>>> log4j-distribution-2.0.1-bin.zip/apache-log4j-2.0.1-bin/RELEASE-NOTES.txt
>>>>> "This is the first GA release, after thirteen prior releases over the last 4 years.
>>>>> 
>>>>> ?
>>>>> 
>>>>> Changes in this release..."
>>>>> 
>>>>> -> Should be "...the second GA release..."
>>>>> -> The question mark "?" should probably be "Bug fixes and enhancements"
>>>>> 
>>>>> 
>>>>> Site
>>>>> ----
>>>>> Download page: "Apache Log4j 2 is signed by Ralph Goers B3D8E1BA"
>>>>> -> Is this correct for 2.0.1?
>>>>> 
>>>>> Project Info > Dependency Convergence: logj2-perf uses disruptor-3.2.1, but log4j-core uses disruptor-3.3.0.
>>>>> (Not an issue since log4j-perf is not a distribution artifact.)
>>>>> 
>>>>> 
>>>>> Javadoc: many package docs mention "Log4j 2.0". E.g.
>>>>> http://people.apache.org/~mattsicker/log4j/2.0.1/log4j-api/apidocs/index.html
>>>>> Sometime in the future we will release version 2.1, 2.2, etc.
>>>>> Should we update all Javadoc pages to "Log4j 2" to future-proof them?
>>>>> 
>>>>> Similarly, the FAQ page mentions "the Log4j 2.0 implementation" and "the Log4j 2.0 API".
>>>>> We should probably change this to "the Log4j 2 implementation" and "the Log4j 2 API".
>>>>> 
>>>>> Manual > Introduction (index.html)
>>>>> "The latest log4j version, including full-source code, class files and 
>>>>>  documentation can be found at http://logging.apache.org/log4j/2.0/index.html."
>>>>> -> We should change that link to http://logging.apache.org/log4j/2.x/index.html
>>>>>    (It looks like 2.0 and 2.x both work as URLs.)
>>>>> 
>>>>> Manual > Log4j 1.x Migration also has a few mentions of "2.0".
>>>>> Manual > Configuration page has one mention of "2.0".
>>>>> Manual > JMX has six places where log4j-api-2.0.jar etc are mentioned. 
>>>>> 		-> Can we make these variables to they change with the ${project.version}?
>>>>> Manual > Custom Log Levels has two places where log4j-core.2.0.jar is mentioned.
>>>>> 		-> Can we make these variables to they change with the ${project.version}?
>>>>> 
>>>>> Manual > Layouts > PatternLayout, %d pattern examples:
>>>>> %d{HH:mm:ss}{GMT+0}	18:34:02,781 <- this does not look right? The result has millis instead of timezone...
>>>>> 
>>>>> Manual > Architecture > LoggerConfig > Log Levels: (we may want to rewrite the text below)
>>>>> The set of possible levels includes TRACE, DEBUG, INFO, WARN, ERROR, and FATAL.
>>>>> Note that in Log4j 2, the Level is an Enum and cannot be sub-classed.
>>>>> Users who desire more granularity are encouraged to use Markers instead.
>>>>> 
>>>>> Manual > Extending Log4j > ContextSelector: missing AsyncLoggerContextSelector
>>>>> 
>>>>> 
>>>>> 
>>>>>> On Wed, Jul 30, 2014 at 10:33 AM, Matt Sicker <bo...@gmail.com> wrote:
>>>>>> This is a vote to release Log4j 2.0.1, the first bug fix release of the 2.0 branch of Log4j 2.
>>>>>> 
>>>>>> Please test and cast your votes.
>>>>>> [] +1, release the artifacts
>>>>>> [] -1, don't release because...
>>>>>> 
>>>>>> The vote will remain open for 72 hours (or more if required). Note that binding votes, as usual, are done by PMC members. Non-binding votes are welcome from anyone and are always welcome.
>>>>>> 
>>>>>> This is my first time acting as an RM, so if there are any issues with this, please let me know as soon as possible! If you don't already have my GPG key, it's key ID FA1C814D which is available on all the public GPG servers. Otherwise, you can download it from my Apache site at: <http://people.apache.org/~mattsicker/FA1C814D.asc>
>>>>>> 
>>>>>> New features:
>>>>>> o LOG4J2-725:  Added WebLoggerContextUtils class to log4j-web for helper methods useful for asynchronous servlets. 
>>>>>> o LOG4J2-710:  Added documentation for Custom Levels and Custom Loggers. 
>>>>>> 
>>>>>> Fixed Bugs:
>>>>>> o LOG4J2-744:  Avoid unnecessary Clock calls when TimestampMessage is logged. Thanks to Scott Harrington. 
>>>>>> o LOG4J2-704:  Improved error message if configuration file not found. 
>>>>>> o LOG4J2-750:  Webapp configuration page has incorrect class name. Thanks to Mike Calmus. 
>>>>>> o LOG4J2-749:  Retain the default date pattern after fixing the ISO8601 pattern. Thanks to Scott Harrington. 
>>>>>> o LOG4J2-670:  DatePatternConverter ISO8601_PATTERN now conforms to ISO8601. 
>>>>>> o LOG4J2-741:  Reinstate the package configuration attribute for discovering custom plugins. 
>>>>>> o LOG4J2-742:  XInclude not working with relative path. Thanks to Pascal Chollet. 
>>>>>> o LOG4J2-740:  Fixed typo in webapp manual regarding sample web.xml file. Thanks to Kosta Krauth. 
>>>>>> o LOG4J2-738:  RollingFileManager deadlock if async action thread fails to start. Thanks to Timothy Stack. 
>>>>>> o LOG4J2-736:  Fixed log4j-bom so that it won't specify a default scope on any third party dependencies. 
>>>>>> o LOG4J2-735:  Fixed log4j-bom so that it won't interfere with spring-bom and others. 
>>>>>> o LOG4J2-731:  Updated documentation regarding extensions to LoggerContextFactory and Log4j 2 providers. 
>>>>>> o LOG4J2-373:  Fixed ClassLoader issues in loading Log4j providers in an OSGi environment. 
>>>>>> o LOG4J2-719:  Correctly handle NetworkOnMainThreadException thrown on Android during Log4j2 initialization. 
>>>>>> o LOG4J2-716:  Automatically disable log4j JMX when detecting we are running on Android. 
>>>>>> o LOG4J2-657:  Fixed AbstractDatabaseManager to close connection on writeInternal error. Thanks to Stefan Wehner. 
>>>>>> o LOG4J2-713:  Android: java.lang.VerifyError: org/apache/logging/log4j/core/util/Closer Thanks to Nelson Melina. 
>>>>>> o LOG4J2-703:  Android: Could not find class 'javax.naming.InitialContext', referenced from method org.apache.logging.log4j.core.lookup.JndiLookup.lookup. Thanks to Nelson Melina. 
>>>>>> 
>>>>>> Tag: http://svn.apache.org/repos/asf/logging/log4j/log4j2/tags/log4j-2.0.1/
>>>>>> 
>>>>>> SVN revision: 1614534
>>>>>> 
>>>>>> Web Site: http://people.apache.org/~mattsicker/log4j/2.0.1/
>>>>>> 
>>>>>> Artifacts: https://repository.apache.org/content/repositories/orgapachelogging-1005/
>>>>>> 
>>>>>> You may download all the artifacts by executing:
>>>>>> 
>>>>>> wget -e robots=off --cut-dirs=3 -r -p -np --no-check-certificate https://repository.apache.org/content/repositories/orgapachelogging-1005/
>>>>>> 
>>>>>> -- 
>>>>>> Matt Sicker <bo...@gmail.com>
>>>> 
>>>> 
>>>> 
>>>> -- 
>>>> E-Mail: garydgregory@gmail.com | ggregory@apache.org 
>>>> Java Persistence with Hibernate, Second Edition
>>>> JUnit in Action, Second Edition
>>>> Spring Batch in Action
>>>> Blog: http://garygregory.wordpress.com 
>>>> Home: http://garygregory.com/
>>>> Tweet! http://twitter.com/GaryGregory
>>> 
>>> 
>>> 
>>> -- 
>>> Matt Sicker <bo...@gmail.com>
> 
> 
> 
> -- 
> E-Mail: garydgregory@gmail.com | ggregory@apache.org 
> Java Persistence with Hibernate, Second Edition
> JUnit in Action, Second Edition
> Spring Batch in Action
> Blog: http://garygregory.wordpress.com 
> Home: http://garygregory.com/
> Tweet! http://twitter.com/GaryGregory

Re: [VOTE] Log4j 2.0.1 candidate 1

Posted by Gary Gregory <ga...@gmail.com>.
On Thu, Jul 31, 2014 at 7:52 PM, Remko Popma <re...@gmail.com> wrote:

> No, CachedClock wasn't changed.
>
> I suppose the test is too strict in that it may fail on slower systems or
> systems that are busy doing other things at the same time.
>
> I should just remove that test. Gary has mentioned it failing on his
> machine several times in the past, I think. It is unfortunately not easy to
> test Clocks otherwise, but this has been an annoyance for too long now.
> I'll get rid of it.
>
> Gary, with that in mind, can I ask you to reconsider your vote?
>

That's the kinds of explanation I was looking for. thank you.

+1

Gary

>
> Sent from my iPhone
>
> On 2014/08/01, at 8:06, Matt Sicker <bo...@gmail.com> wrote:
>
> Wasn't the CachedClock stuff changed recently? Did that make it into this
> release?
>
>
> On 31 July 2014 17:51, Gary Gregory <ga...@gmail.com> wrote:
>
>> -0:
>>
>> I downloaded the src zip and ran "mvn clean test" and got:
>>
>> Failed tests:
>>   CachedClockTest.testAfterWaitStillLessThan17Millis:33 diff too large: 43
>>
>> Tests run: 684, Failures: 1, Errors: 0, Skipped: 28
>>
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Reactor Summary:
>> [INFO]
>> [INFO] Apache Log4j 2 ..................................... SUCCESS [
>> 3.427 s]
>> [INFO] Apache Log4j API ................................... SUCCESS [
>> 38.578 s]
>> [INFO] Apache Log4j Core .................................. FAILURE
>> [06:41 min]
>>
>> Using:
>>
>> Apache Maven 3.2.2 (45f7c06d68e745d05611f7fd14efb6594181933e;
>> 2014-06-17T09:51:42-04:00)
>> Maven home: C:\Java\apache-maven-3.2.2
>> Java version: 1.7.0_60, vendor: Oracle Corporation
>> Java home: C:\Program Files\Java\jdk1.7.0_60\jre
>> Default locale: en_US, platform encoding: Cp1252
>> OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
>>
>> This seems like a test too strict or incorrect assumptions about clock
>> granularity on Windows.
>> Worse, is that it does not happen every time I run Maven.
>>
>> Ideally, I think all of the issues Remko found should be fixed and
>> another RC cut, but they do not feel like "showstoppers", and I am not
>> doing the RM work. Thank you Matt for doing the work.
>>
>> The version thing is a bit confusing and I've rewritten this section of
>> my email several times before settling on proposing to use the exact
>> version number consistently: 2.0.1 for this release. Otherwise, talking
>> about "Log4j" is fine, I do not think we need to talk about "Log4j 2" as a
>> general rule. In the migration doc we can talk about "Log4j 1" and "Log4j
>> 2" since context is important. But I can also see that some additional
>> migration docs might only apply to later versions of Log4j where using a
>> specific version will be important.
>>
>> The perf module prints out screen after screen of warnings like:
>>
>> [WARNING]
>> /C:/temp/rc/apache-log4j-2.0.1-src/log4j-perf/target/generated-sources/annotations/org/apache/logging/log4j/perf/jmh/generated/FormatterLoggerBenchmark_latencyBaseline.java:[53,33]
>> found raw type: org.openjdk.jmh.logic.results.Re
>> ult
>>   missing type arguments for generic class
>> org.openjdk.jmh.logic.results.Result<T>
>>
>> What is that all about?
>>
>> Gary
>>
>>
>> On Wed, Jul 30, 2014 at 10:57 AM, Remko Popma <re...@gmail.com>
>> wrote:
>>
>>> +1 Artifacts look good, site looks good.
>>>
>>> Minor issues found (no showstoppers IMO):
>>>
>>> Artifacts
>>> ---------
>>> log4j-distribution-2.0.1-bin.zip/apache-log4j-2.0.1-bin/RELEASE-NOTES.txt
>>> "This is the first GA release, after thirteen prior releases over the
>>> last 4 years.
>>>
>>> ?
>>>
>>> Changes in this release..."
>>>
>>> -> Should be "...the second GA release..."
>>> -> The question mark "?" should probably be "Bug fixes and enhancements"
>>>
>>>
>>> Site
>>> ----
>>> Download page: "Apache Log4j 2 is signed by Ralph Goers B3D8E1BA"
>>> -> Is this correct for 2.0.1?
>>>
>>> Project Info > Dependency Convergence: logj2-perf uses disruptor-3.2.1,
>>> but log4j-core uses disruptor-3.3.0.
>>> (Not an issue since log4j-perf is not a distribution artifact.)
>>>
>>>
>>> Javadoc: many package docs mention "Log4j 2.0". E.g.
>>>
>>> http://people.apache.org/~mattsicker/log4j/2.0.1/log4j-api/apidocs/index.html
>>> Sometime in the future we will release version 2.1, 2.2, etc.
>>> Should we update all Javadoc pages to "Log4j 2" to future-proof them?
>>>
>>> Similarly, the FAQ page mentions "the Log4j 2.0 implementation" and "the
>>> Log4j 2.0 API".
>>> We should probably change this to "the Log4j 2 implementation" and "the
>>> Log4j 2 API".
>>>
>>> Manual > Introduction (index.html)
>>> "The latest log4j version, including full-source code, class files and
>>>  documentation can be found at
>>> http://logging.apache.org/log4j/2.0/index.html."
>>> -> We should change that link to
>>> http://logging.apache.org/log4j/2.x/index.html
>>>    (It looks like 2.0 and 2.x both work as URLs.)
>>>
>>> Manual > Log4j 1.x Migration also has a few mentions of "2.0".
>>> Manual > Configuration page has one mention of "2.0".
>>> Manual > JMX has six places where log4j-api-2.0.jar etc are mentioned.
>>> -> Can we make these variables to they change with the
>>> ${project.version}?
>>> Manual > Custom Log Levels has two places where log4j-core.2.0.jar is
>>> mentioned.
>>> -> Can we make these variables to they change with the
>>> ${project.version}?
>>>
>>> Manual > Layouts > PatternLayout, %d pattern examples:
>>> %d{HH:mm:ss}{GMT+0} 18:34:02,781 <- this does not look right? The
>>> result has millis instead of timezone...
>>>
>>> Manual > Architecture > LoggerConfig > Log Levels: (we may want to
>>> rewrite the text below)
>>> The set of possible levels includes TRACE, DEBUG, INFO, WARN, ERROR, and
>>> FATAL.
>>> Note that in Log4j 2, the Level is an Enum and cannot be sub-classed.
>>> Users who desire more granularity are encouraged to use Markers instead.
>>>
>>> Manual > Extending Log4j > ContextSelector: missing
>>> AsyncLoggerContextSelector
>>>
>>>
>>>
>>> On Wed, Jul 30, 2014 at 10:33 AM, Matt Sicker <bo...@gmail.com> wrote:
>>>
>>>> This is a vote to release Log4j 2.0.1, the first bug fix release of the
>>>> 2.0 branch of Log4j 2.
>>>>
>>>> Please test and cast your votes.
>>>> [] +1, release the artifacts
>>>> [] -1, don't release because...
>>>>
>>>> The vote will remain open for 72 hours (or more if required). Note that
>>>> binding votes, as usual, are done by PMC members. Non-binding votes are
>>>> welcome from anyone and are always welcome.
>>>>
>>>> This is my first time acting as an RM, so if there are any issues with
>>>> this, please let me know as soon as possible! If you don't already have my
>>>> GPG key, it's key ID FA1C814D which is available on all the public GPG
>>>> servers. Otherwise, you can download it from my Apache site at: <
>>>> http://people.apache.org/~mattsicker/FA1C814D.asc>
>>>>
>>>> New features:
>>>> o LOG4J2-725:  Added WebLoggerContextUtils class to log4j-web for
>>>> helper methods useful for asynchronous servlets.
>>>> o LOG4J2-710:  Added documentation for Custom Levels and Custom
>>>> Loggers.
>>>>
>>>> Fixed Bugs:
>>>> o LOG4J2-744:  Avoid unnecessary Clock calls when TimestampMessage is
>>>> logged. Thanks to Scott Harrington.
>>>> o LOG4J2-704:  Improved error message if configuration file not found.
>>>> o LOG4J2-750:  Webapp configuration page has incorrect class name.
>>>> Thanks to Mike Calmus.
>>>> o LOG4J2-749:  Retain the default date pattern after fixing the ISO8601
>>>> pattern. Thanks to Scott Harrington.
>>>> o LOG4J2-670:  DatePatternConverter ISO8601_PATTERN now conforms to
>>>> ISO8601.
>>>> o LOG4J2-741:  Reinstate the package configuration attribute for
>>>> discovering custom plugins.
>>>> o LOG4J2-742:  XInclude not working with relative path. Thanks to
>>>> Pascal Chollet.
>>>> o LOG4J2-740:  Fixed typo in webapp manual regarding sample web.xml
>>>> file. Thanks to Kosta Krauth.
>>>> o LOG4J2-738:  RollingFileManager deadlock if async action thread fails
>>>> to start. Thanks to Timothy Stack.
>>>> o LOG4J2-736:  Fixed log4j-bom so that it won't specify a default scope
>>>> on any third party dependencies.
>>>> o LOG4J2-735:  Fixed log4j-bom so that it won't interfere with
>>>> spring-bom and others.
>>>> o LOG4J2-731:  Updated documentation regarding extensions to
>>>> LoggerContextFactory and Log4j 2 providers.
>>>> o LOG4J2-373:  Fixed ClassLoader issues in loading Log4j providers in
>>>> an OSGi environment.
>>>> o LOG4J2-719:  Correctly handle NetworkOnMainThreadException thrown on
>>>> Android during Log4j2 initialization.
>>>> o LOG4J2-716:  Automatically disable log4j JMX when detecting we are
>>>> running on Android.
>>>> o LOG4J2-657:  Fixed AbstractDatabaseManager to close connection on
>>>> writeInternal error. Thanks to Stefan Wehner.
>>>> o LOG4J2-713:  Android: java.lang.VerifyError:
>>>> org/apache/logging/log4j/core/util/Closer Thanks to Nelson Melina.
>>>> o LOG4J2-703:  Android: Could not find class
>>>> 'javax.naming.InitialContext', referenced from method
>>>> org.apache.logging.log4j.core.lookup.JndiLookup.lookup. Thanks to Nelson
>>>> Melina.
>>>>
>>>> Tag:
>>>> http://svn.apache.org/repos/asf/logging/log4j/log4j2/tags/log4j-2.0.1/
>>>>
>>>> SVN revision: 1614534
>>>>
>>>> Web Site: http://people.apache.org/~mattsicker/log4j/2.0.1/
>>>>
>>>> Artifacts:
>>>> https://repository.apache.org/content/repositories/orgapachelogging-1005/
>>>>
>>>> You may download all the artifacts by executing:
>>>>
>>>> wget -e robots=off --cut-dirs=3 -r -p -np --no-check-certificate
>>>> https://repository.apache.org/content/repositories/orgapachelogging-1005/
>>>>
>>>> --
>>>> Matt Sicker <bo...@gmail.com>
>>>>
>>>
>>>
>>
>>
>> --
>> E-Mail: garydgregory@gmail.com | ggregory@apache.org
>> Java Persistence with Hibernate, Second Edition
>> <http://www.manning.com/bauer3/>
>> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
>> Spring Batch in Action <http://www.manning.com/templier/>
>> Blog: http://garygregory.wordpress.com
>> Home: http://garygregory.com/
>> Tweet! http://twitter.com/GaryGregory
>>
>
>
>
> --
> Matt Sicker <bo...@gmail.com>
>
>


-- 
E-Mail: garydgregory@gmail.com | ggregory@apache.org
Java Persistence with Hibernate, Second Edition
<http://www.manning.com/bauer3/>
JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
Spring Batch in Action <http://www.manning.com/templier/>
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory

Re: [VOTE] Log4j 2.0.1 candidate 1

Posted by Remko Popma <re...@gmail.com>.
No, CachedClock wasn't changed.  

I suppose the test is too strict in that it may fail on slower systems or systems that are busy doing other things at the same time. 

I should just remove that test. Gary has mentioned it failing on his machine several times in the past, I think. It is unfortunately not easy to test Clocks otherwise, but this has been an annoyance for too long now. I'll get rid of it. 

Gary, with that in mind, can I ask you to reconsider your vote? 

Sent from my iPhone

> On 2014/08/01, at 8:06, Matt Sicker <bo...@gmail.com> wrote:
> 
> Wasn't the CachedClock stuff changed recently? Did that make it into this release?
> 
> 
>> On 31 July 2014 17:51, Gary Gregory <ga...@gmail.com> wrote:
>> -0:
>> 
>> I downloaded the src zip and ran "mvn clean test" and got:
>> 
>> Failed tests:
>>   CachedClockTest.testAfterWaitStillLessThan17Millis:33 diff too large: 43
>> 
>> Tests run: 684, Failures: 1, Errors: 0, Skipped: 28
>> 
>> [INFO] ------------------------------------------------------------------------
>> [INFO] Reactor Summary:
>> [INFO]
>> [INFO] Apache Log4j 2 ..................................... SUCCESS [  3.427 s]
>> [INFO] Apache Log4j API ................................... SUCCESS [ 38.578 s]
>> [INFO] Apache Log4j Core .................................. FAILURE [06:41 min]
>> 
>> Using:
>> 
>> Apache Maven 3.2.2 (45f7c06d68e745d05611f7fd14efb6594181933e; 2014-06-17T09:51:42-04:00)
>> Maven home: C:\Java\apache-maven-3.2.2
>> Java version: 1.7.0_60, vendor: Oracle Corporation
>> Java home: C:\Program Files\Java\jdk1.7.0_60\jre
>> Default locale: en_US, platform encoding: Cp1252
>> OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
>> 
>> This seems like a test too strict or incorrect assumptions about clock granularity on Windows.
>> Worse, is that it does not happen every time I run Maven.
>> 
>> Ideally, I think all of the issues Remko found should be fixed and another RC cut, but they do not feel like "showstoppers", and I am not doing the RM work. Thank you Matt for doing the work.
>> 
>> The version thing is a bit confusing and I've rewritten this section of my email several times before settling on proposing to use the exact version number consistently: 2.0.1 for this release. Otherwise, talking about "Log4j" is fine, I do not think we need to talk about "Log4j 2" as a general rule. In the migration doc we can talk about "Log4j 1" and "Log4j 2" since context is important. But I can also see that some additional migration docs might only apply to later versions of Log4j where using a specific version will be important.
>> 
>> The perf module prints out screen after screen of warnings like:
>> 
>> [WARNING] /C:/temp/rc/apache-log4j-2.0.1-src/log4j-perf/target/generated-sources/annotations/org/apache/logging/log4j/perf/jmh/generated/FormatterLoggerBenchmark_latencyBaseline.java:[53,33] found raw type: org.openjdk.jmh.logic.results.Re
>> ult
>>   missing type arguments for generic class org.openjdk.jmh.logic.results.Result<T>
>> 
>> What is that all about?
>> 
>> Gary
>> 
>> 
>>> On Wed, Jul 30, 2014 at 10:57 AM, Remko Popma <re...@gmail.com> wrote:
>>> +1 Artifacts look good, site looks good.
>>> 
>>> Minor issues found (no showstoppers IMO):
>>> 
>>> Artifacts
>>> ---------
>>> log4j-distribution-2.0.1-bin.zip/apache-log4j-2.0.1-bin/RELEASE-NOTES.txt
>>> "This is the first GA release, after thirteen prior releases over the last 4 years.
>>> 
>>> ?
>>> 
>>> Changes in this release..."
>>> 
>>> -> Should be "...the second GA release..."
>>> -> The question mark "?" should probably be "Bug fixes and enhancements"
>>> 
>>> 
>>> Site
>>> ----
>>> Download page: "Apache Log4j 2 is signed by Ralph Goers B3D8E1BA"
>>> -> Is this correct for 2.0.1?
>>> 
>>> Project Info > Dependency Convergence: logj2-perf uses disruptor-3.2.1, but log4j-core uses disruptor-3.3.0.
>>> (Not an issue since log4j-perf is not a distribution artifact.)
>>> 
>>> 
>>> Javadoc: many package docs mention "Log4j 2.0". E.g.
>>> http://people.apache.org/~mattsicker/log4j/2.0.1/log4j-api/apidocs/index.html
>>> Sometime in the future we will release version 2.1, 2.2, etc.
>>> Should we update all Javadoc pages to "Log4j 2" to future-proof them?
>>> 
>>> Similarly, the FAQ page mentions "the Log4j 2.0 implementation" and "the Log4j 2.0 API".
>>> We should probably change this to "the Log4j 2 implementation" and "the Log4j 2 API".
>>> 
>>> Manual > Introduction (index.html)
>>> "The latest log4j version, including full-source code, class files and 
>>>  documentation can be found at http://logging.apache.org/log4j/2.0/index.html."
>>> -> We should change that link to http://logging.apache.org/log4j/2.x/index.html
>>>    (It looks like 2.0 and 2.x both work as URLs.)
>>> 
>>> Manual > Log4j 1.x Migration also has a few mentions of "2.0".
>>> Manual > Configuration page has one mention of "2.0".
>>> Manual > JMX has six places where log4j-api-2.0.jar etc are mentioned. 
>>> 		-> Can we make these variables to they change with the ${project.version}?
>>> Manual > Custom Log Levels has two places where log4j-core.2.0.jar is mentioned.
>>> 		-> Can we make these variables to they change with the ${project.version}?
>>> 
>>> Manual > Layouts > PatternLayout, %d pattern examples:
>>> %d{HH:mm:ss}{GMT+0}	18:34:02,781 <- this does not look right? The result has millis instead of timezone...
>>> 
>>> Manual > Architecture > LoggerConfig > Log Levels: (we may want to rewrite the text below)
>>> The set of possible levels includes TRACE, DEBUG, INFO, WARN, ERROR, and FATAL.
>>> Note that in Log4j 2, the Level is an Enum and cannot be sub-classed.
>>> Users who desire more granularity are encouraged to use Markers instead.
>>> 
>>> Manual > Extending Log4j > ContextSelector: missing AsyncLoggerContextSelector
>>> 
>>> 
>>> 
>>>> On Wed, Jul 30, 2014 at 10:33 AM, Matt Sicker <bo...@gmail.com> wrote:
>>>> This is a vote to release Log4j 2.0.1, the first bug fix release of the 2.0 branch of Log4j 2.
>>>> 
>>>> Please test and cast your votes.
>>>> [] +1, release the artifacts
>>>> [] -1, don't release because...
>>>> 
>>>> The vote will remain open for 72 hours (or more if required). Note that binding votes, as usual, are done by PMC members. Non-binding votes are welcome from anyone and are always welcome.
>>>> 
>>>> This is my first time acting as an RM, so if there are any issues with this, please let me know as soon as possible! If you don't already have my GPG key, it's key ID FA1C814D which is available on all the public GPG servers. Otherwise, you can download it from my Apache site at: <http://people.apache.org/~mattsicker/FA1C814D.asc>
>>>> 
>>>> New features:
>>>> o LOG4J2-725:  Added WebLoggerContextUtils class to log4j-web for helper methods useful for asynchronous servlets. 
>>>> o LOG4J2-710:  Added documentation for Custom Levels and Custom Loggers. 
>>>> 
>>>> Fixed Bugs:
>>>> o LOG4J2-744:  Avoid unnecessary Clock calls when TimestampMessage is logged. Thanks to Scott Harrington. 
>>>> o LOG4J2-704:  Improved error message if configuration file not found. 
>>>> o LOG4J2-750:  Webapp configuration page has incorrect class name. Thanks to Mike Calmus. 
>>>> o LOG4J2-749:  Retain the default date pattern after fixing the ISO8601 pattern. Thanks to Scott Harrington. 
>>>> o LOG4J2-670:  DatePatternConverter ISO8601_PATTERN now conforms to ISO8601. 
>>>> o LOG4J2-741:  Reinstate the package configuration attribute for discovering custom plugins. 
>>>> o LOG4J2-742:  XInclude not working with relative path. Thanks to Pascal Chollet. 
>>>> o LOG4J2-740:  Fixed typo in webapp manual regarding sample web.xml file. Thanks to Kosta Krauth. 
>>>> o LOG4J2-738:  RollingFileManager deadlock if async action thread fails to start. Thanks to Timothy Stack. 
>>>> o LOG4J2-736:  Fixed log4j-bom so that it won't specify a default scope on any third party dependencies. 
>>>> o LOG4J2-735:  Fixed log4j-bom so that it won't interfere with spring-bom and others. 
>>>> o LOG4J2-731:  Updated documentation regarding extensions to LoggerContextFactory and Log4j 2 providers. 
>>>> o LOG4J2-373:  Fixed ClassLoader issues in loading Log4j providers in an OSGi environment. 
>>>> o LOG4J2-719:  Correctly handle NetworkOnMainThreadException thrown on Android during Log4j2 initialization. 
>>>> o LOG4J2-716:  Automatically disable log4j JMX when detecting we are running on Android. 
>>>> o LOG4J2-657:  Fixed AbstractDatabaseManager to close connection on writeInternal error. Thanks to Stefan Wehner. 
>>>> o LOG4J2-713:  Android: java.lang.VerifyError: org/apache/logging/log4j/core/util/Closer Thanks to Nelson Melina. 
>>>> o LOG4J2-703:  Android: Could not find class 'javax.naming.InitialContext', referenced from method org.apache.logging.log4j.core.lookup.JndiLookup.lookup. Thanks to Nelson Melina. 
>>>> 
>>>> Tag: http://svn.apache.org/repos/asf/logging/log4j/log4j2/tags/log4j-2.0.1/
>>>> 
>>>> SVN revision: 1614534
>>>> 
>>>> Web Site: http://people.apache.org/~mattsicker/log4j/2.0.1/
>>>> 
>>>> Artifacts: https://repository.apache.org/content/repositories/orgapachelogging-1005/
>>>> 
>>>> You may download all the artifacts by executing:
>>>> 
>>>> wget -e robots=off --cut-dirs=3 -r -p -np --no-check-certificate https://repository.apache.org/content/repositories/orgapachelogging-1005/
>>>> 
>>>> -- 
>>>> Matt Sicker <bo...@gmail.com>
>> 
>> 
>> 
>> -- 
>> E-Mail: garydgregory@gmail.com | ggregory@apache.org 
>> Java Persistence with Hibernate, Second Edition
>> JUnit in Action, Second Edition
>> Spring Batch in Action
>> Blog: http://garygregory.wordpress.com 
>> Home: http://garygregory.com/
>> Tweet! http://twitter.com/GaryGregory
> 
> 
> 
> -- 
> Matt Sicker <bo...@gmail.com>

Re: [VOTE] Log4j 2.0.1 candidate 1

Posted by Matt Sicker <bo...@gmail.com>.
Wasn't the CachedClock stuff changed recently? Did that make it into this
release?


On 31 July 2014 17:51, Gary Gregory <ga...@gmail.com> wrote:

> -0:
>
> I downloaded the src zip and ran "mvn clean test" and got:
>
> Failed tests:
>   CachedClockTest.testAfterWaitStillLessThan17Millis:33 diff too large: 43
>
> Tests run: 684, Failures: 1, Errors: 0, Skipped: 28
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Apache Log4j 2 ..................................... SUCCESS [
> 3.427 s]
> [INFO] Apache Log4j API ................................... SUCCESS [
> 38.578 s]
> [INFO] Apache Log4j Core .................................. FAILURE [06:41
> min]
>
> Using:
>
> Apache Maven 3.2.2 (45f7c06d68e745d05611f7fd14efb6594181933e;
> 2014-06-17T09:51:42-04:00)
> Maven home: C:\Java\apache-maven-3.2.2
> Java version: 1.7.0_60, vendor: Oracle Corporation
> Java home: C:\Program Files\Java\jdk1.7.0_60\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
>
> This seems like a test too strict or incorrect assumptions about clock
> granularity on Windows.
> Worse, is that it does not happen every time I run Maven.
>
> Ideally, I think all of the issues Remko found should be fixed and another
> RC cut, but they do not feel like "showstoppers", and I am not doing the RM
> work. Thank you Matt for doing the work.
>
> The version thing is a bit confusing and I've rewritten this section of my
> email several times before settling on proposing to use the exact version
> number consistently: 2.0.1 for this release. Otherwise, talking about
> "Log4j" is fine, I do not think we need to talk about "Log4j 2" as a
> general rule. In the migration doc we can talk about "Log4j 1" and "Log4j
> 2" since context is important. But I can also see that some additional
> migration docs might only apply to later versions of Log4j where using a
> specific version will be important.
>
> The perf module prints out screen after screen of warnings like:
>
> [WARNING]
> /C:/temp/rc/apache-log4j-2.0.1-src/log4j-perf/target/generated-sources/annotations/org/apache/logging/log4j/perf/jmh/generated/FormatterLoggerBenchmark_latencyBaseline.java:[53,33]
> found raw type: org.openjdk.jmh.logic.results.Re
> ult
>   missing type arguments for generic class
> org.openjdk.jmh.logic.results.Result<T>
>
> What is that all about?
>
> Gary
>
>
> On Wed, Jul 30, 2014 at 10:57 AM, Remko Popma <re...@gmail.com>
> wrote:
>
>> +1 Artifacts look good, site looks good.
>>
>> Minor issues found (no showstoppers IMO):
>>
>> Artifacts
>> ---------
>> log4j-distribution-2.0.1-bin.zip/apache-log4j-2.0.1-bin/RELEASE-NOTES.txt
>> "This is the first GA release, after thirteen prior releases over the
>> last 4 years.
>>
>> ?
>>
>> Changes in this release..."
>>
>> -> Should be "...the second GA release..."
>> -> The question mark "?" should probably be "Bug fixes and enhancements"
>>
>>
>> Site
>> ----
>> Download page: "Apache Log4j 2 is signed by Ralph Goers B3D8E1BA"
>> -> Is this correct for 2.0.1?
>>
>> Project Info > Dependency Convergence: logj2-perf uses disruptor-3.2.1,
>> but log4j-core uses disruptor-3.3.0.
>> (Not an issue since log4j-perf is not a distribution artifact.)
>>
>>
>> Javadoc: many package docs mention "Log4j 2.0". E.g.
>>
>> http://people.apache.org/~mattsicker/log4j/2.0.1/log4j-api/apidocs/index.html
>> Sometime in the future we will release version 2.1, 2.2, etc.
>> Should we update all Javadoc pages to "Log4j 2" to future-proof them?
>>
>> Similarly, the FAQ page mentions "the Log4j 2.0 implementation" and "the
>> Log4j 2.0 API".
>> We should probably change this to "the Log4j 2 implementation" and "the
>> Log4j 2 API".
>>
>> Manual > Introduction (index.html)
>> "The latest log4j version, including full-source code, class files and
>>  documentation can be found at
>> http://logging.apache.org/log4j/2.0/index.html."
>> -> We should change that link to
>> http://logging.apache.org/log4j/2.x/index.html
>>    (It looks like 2.0 and 2.x both work as URLs.)
>>
>> Manual > Log4j 1.x Migration also has a few mentions of "2.0".
>> Manual > Configuration page has one mention of "2.0".
>> Manual > JMX has six places where log4j-api-2.0.jar etc are mentioned.
>> -> Can we make these variables to they change with the ${project.version}?
>> Manual > Custom Log Levels has two places where log4j-core.2.0.jar is
>> mentioned.
>> -> Can we make these variables to they change with the ${project.version}?
>>
>> Manual > Layouts > PatternLayout, %d pattern examples:
>> %d{HH:mm:ss}{GMT+0} 18:34:02,781 <- this does not look right? The result
>> has millis instead of timezone...
>>
>> Manual > Architecture > LoggerConfig > Log Levels: (we may want to
>> rewrite the text below)
>> The set of possible levels includes TRACE, DEBUG, INFO, WARN, ERROR, and
>> FATAL.
>> Note that in Log4j 2, the Level is an Enum and cannot be sub-classed.
>> Users who desire more granularity are encouraged to use Markers instead.
>>
>> Manual > Extending Log4j > ContextSelector: missing
>> AsyncLoggerContextSelector
>>
>>
>>
>> On Wed, Jul 30, 2014 at 10:33 AM, Matt Sicker <bo...@gmail.com> wrote:
>>
>>> This is a vote to release Log4j 2.0.1, the first bug fix release of the
>>> 2.0 branch of Log4j 2.
>>>
>>> Please test and cast your votes.
>>> [] +1, release the artifacts
>>> [] -1, don't release because...
>>>
>>> The vote will remain open for 72 hours (or more if required). Note that
>>> binding votes, as usual, are done by PMC members. Non-binding votes are
>>> welcome from anyone and are always welcome.
>>>
>>> This is my first time acting as an RM, so if there are any issues with
>>> this, please let me know as soon as possible! If you don't already have my
>>> GPG key, it's key ID FA1C814D which is available on all the public GPG
>>> servers. Otherwise, you can download it from my Apache site at: <
>>> http://people.apache.org/~mattsicker/FA1C814D.asc>
>>>
>>> New features:
>>> o LOG4J2-725:  Added WebLoggerContextUtils class to log4j-web for helper
>>> methods useful for asynchronous servlets.
>>> o LOG4J2-710:  Added documentation for Custom Levels and Custom Loggers.
>>>
>>> Fixed Bugs:
>>> o LOG4J2-744:  Avoid unnecessary Clock calls when TimestampMessage is
>>> logged. Thanks to Scott Harrington.
>>> o LOG4J2-704:  Improved error message if configuration file not found.
>>> o LOG4J2-750:  Webapp configuration page has incorrect class name.
>>> Thanks to Mike Calmus.
>>> o LOG4J2-749:  Retain the default date pattern after fixing the ISO8601
>>> pattern. Thanks to Scott Harrington.
>>> o LOG4J2-670:  DatePatternConverter ISO8601_PATTERN now conforms to
>>> ISO8601.
>>> o LOG4J2-741:  Reinstate the package configuration attribute for
>>> discovering custom plugins.
>>> o LOG4J2-742:  XInclude not working with relative path. Thanks to Pascal
>>> Chollet.
>>> o LOG4J2-740:  Fixed typo in webapp manual regarding sample web.xml
>>> file. Thanks to Kosta Krauth.
>>> o LOG4J2-738:  RollingFileManager deadlock if async action thread fails
>>> to start. Thanks to Timothy Stack.
>>> o LOG4J2-736:  Fixed log4j-bom so that it won't specify a default scope
>>> on any third party dependencies.
>>> o LOG4J2-735:  Fixed log4j-bom so that it won't interfere with
>>> spring-bom and others.
>>> o LOG4J2-731:  Updated documentation regarding extensions to
>>> LoggerContextFactory and Log4j 2 providers.
>>> o LOG4J2-373:  Fixed ClassLoader issues in loading Log4j providers in an
>>> OSGi environment.
>>> o LOG4J2-719:  Correctly handle NetworkOnMainThreadException thrown on
>>> Android during Log4j2 initialization.
>>> o LOG4J2-716:  Automatically disable log4j JMX when detecting we are
>>> running on Android.
>>> o LOG4J2-657:  Fixed AbstractDatabaseManager to close connection on
>>> writeInternal error. Thanks to Stefan Wehner.
>>> o LOG4J2-713:  Android: java.lang.VerifyError:
>>> org/apache/logging/log4j/core/util/Closer Thanks to Nelson Melina.
>>> o LOG4J2-703:  Android: Could not find class
>>> 'javax.naming.InitialContext', referenced from method
>>> org.apache.logging.log4j.core.lookup.JndiLookup.lookup. Thanks to Nelson
>>> Melina.
>>>
>>> Tag:
>>> http://svn.apache.org/repos/asf/logging/log4j/log4j2/tags/log4j-2.0.1/
>>>
>>> SVN revision: 1614534
>>>
>>> Web Site: http://people.apache.org/~mattsicker/log4j/2.0.1/
>>>
>>> Artifacts:
>>> https://repository.apache.org/content/repositories/orgapachelogging-1005/
>>>
>>> You may download all the artifacts by executing:
>>>
>>> wget -e robots=off --cut-dirs=3 -r -p -np --no-check-certificate
>>> https://repository.apache.org/content/repositories/orgapachelogging-1005/
>>>
>>> --
>>> Matt Sicker <bo...@gmail.com>
>>>
>>
>>
>
>
> --
> E-Mail: garydgregory@gmail.com | ggregory@apache.org
> Java Persistence with Hibernate, Second Edition
> <http://www.manning.com/bauer3/>
> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
> Spring Batch in Action <http://www.manning.com/templier/>
> Blog: http://garygregory.wordpress.com
> Home: http://garygregory.com/
> Tweet! http://twitter.com/GaryGregory
>



-- 
Matt Sicker <bo...@gmail.com>

Re: [VOTE] Log4j 2.0.1 candidate 1

Posted by Gary Gregory <ga...@gmail.com>.
-0:

I downloaded the src zip and ran "mvn clean test" and got:

Failed tests:
  CachedClockTest.testAfterWaitStillLessThan17Millis:33 diff too large: 43

Tests run: 684, Failures: 1, Errors: 0, Skipped: 28

[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Log4j 2 ..................................... SUCCESS [
3.427 s]
[INFO] Apache Log4j API ................................... SUCCESS [
38.578 s]
[INFO] Apache Log4j Core .................................. FAILURE [06:41
min]

Using:

Apache Maven 3.2.2 (45f7c06d68e745d05611f7fd14efb6594181933e;
2014-06-17T09:51:42-04:00)
Maven home: C:\Java\apache-maven-3.2.2
Java version: 1.7.0_60, vendor: Oracle Corporation
Java home: C:\Program Files\Java\jdk1.7.0_60\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"

This seems like a test too strict or incorrect assumptions about clock
granularity on Windows.
Worse, is that it does not happen every time I run Maven.

Ideally, I think all of the issues Remko found should be fixed and another
RC cut, but they do not feel like "showstoppers", and I am not doing the RM
work. Thank you Matt for doing the work.

The version thing is a bit confusing and I've rewritten this section of my
email several times before settling on proposing to use the exact version
number consistently: 2.0.1 for this release. Otherwise, talking about
"Log4j" is fine, I do not think we need to talk about "Log4j 2" as a
general rule. In the migration doc we can talk about "Log4j 1" and "Log4j
2" since context is important. But I can also see that some additional
migration docs might only apply to later versions of Log4j where using a
specific version will be important.

The perf module prints out screen after screen of warnings like:

[WARNING]
/C:/temp/rc/apache-log4j-2.0.1-src/log4j-perf/target/generated-sources/annotations/org/apache/logging/log4j/perf/jmh/generated/FormatterLoggerBenchmark_latencyBaseline.java:[53,33]
found raw type: org.openjdk.jmh.logic.results.Re
ult
  missing type arguments for generic class
org.openjdk.jmh.logic.results.Result<T>

What is that all about?

Gary


On Wed, Jul 30, 2014 at 10:57 AM, Remko Popma <re...@gmail.com> wrote:

> +1 Artifacts look good, site looks good.
>
> Minor issues found (no showstoppers IMO):
>
> Artifacts
> ---------
> log4j-distribution-2.0.1-bin.zip/apache-log4j-2.0.1-bin/RELEASE-NOTES.txt
> "This is the first GA release, after thirteen prior releases over the last
> 4 years.
>
> ?
>
> Changes in this release..."
>
> -> Should be "...the second GA release..."
> -> The question mark "?" should probably be "Bug fixes and enhancements"
>
>
> Site
> ----
> Download page: "Apache Log4j 2 is signed by Ralph Goers B3D8E1BA"
> -> Is this correct for 2.0.1?
>
> Project Info > Dependency Convergence: logj2-perf uses disruptor-3.2.1,
> but log4j-core uses disruptor-3.3.0.
> (Not an issue since log4j-perf is not a distribution artifact.)
>
>
> Javadoc: many package docs mention "Log4j 2.0". E.g.
>
> http://people.apache.org/~mattsicker/log4j/2.0.1/log4j-api/apidocs/index.html
> Sometime in the future we will release version 2.1, 2.2, etc.
> Should we update all Javadoc pages to "Log4j 2" to future-proof them?
>
> Similarly, the FAQ page mentions "the Log4j 2.0 implementation" and "the
> Log4j 2.0 API".
> We should probably change this to "the Log4j 2 implementation" and "the
> Log4j 2 API".
>
> Manual > Introduction (index.html)
> "The latest log4j version, including full-source code, class files and
>  documentation can be found at
> http://logging.apache.org/log4j/2.0/index.html."
> -> We should change that link to
> http://logging.apache.org/log4j/2.x/index.html
>    (It looks like 2.0 and 2.x both work as URLs.)
>
> Manual > Log4j 1.x Migration also has a few mentions of "2.0".
> Manual > Configuration page has one mention of "2.0".
> Manual > JMX has six places where log4j-api-2.0.jar etc are mentioned.
> -> Can we make these variables to they change with the ${project.version}?
> Manual > Custom Log Levels has two places where log4j-core.2.0.jar is
> mentioned.
> -> Can we make these variables to they change with the ${project.version}?
>
> Manual > Layouts > PatternLayout, %d pattern examples:
> %d{HH:mm:ss}{GMT+0} 18:34:02,781 <- this does not look right? The result
> has millis instead of timezone...
>
> Manual > Architecture > LoggerConfig > Log Levels: (we may want to rewrite
> the text below)
> The set of possible levels includes TRACE, DEBUG, INFO, WARN, ERROR, and
> FATAL.
> Note that in Log4j 2, the Level is an Enum and cannot be sub-classed.
> Users who desire more granularity are encouraged to use Markers instead.
>
> Manual > Extending Log4j > ContextSelector: missing
> AsyncLoggerContextSelector
>
>
>
> On Wed, Jul 30, 2014 at 10:33 AM, Matt Sicker <bo...@gmail.com> wrote:
>
>> This is a vote to release Log4j 2.0.1, the first bug fix release of the
>> 2.0 branch of Log4j 2.
>>
>> Please test and cast your votes.
>> [] +1, release the artifacts
>> [] -1, don't release because...
>>
>> The vote will remain open for 72 hours (or more if required). Note that
>> binding votes, as usual, are done by PMC members. Non-binding votes are
>> welcome from anyone and are always welcome.
>>
>> This is my first time acting as an RM, so if there are any issues with
>> this, please let me know as soon as possible! If you don't already have my
>> GPG key, it's key ID FA1C814D which is available on all the public GPG
>> servers. Otherwise, you can download it from my Apache site at: <
>> http://people.apache.org/~mattsicker/FA1C814D.asc>
>>
>> New features:
>> o LOG4J2-725:  Added WebLoggerContextUtils class to log4j-web for helper
>> methods useful for asynchronous servlets.
>> o LOG4J2-710:  Added documentation for Custom Levels and Custom Loggers.
>>
>> Fixed Bugs:
>> o LOG4J2-744:  Avoid unnecessary Clock calls when TimestampMessage is
>> logged. Thanks to Scott Harrington.
>> o LOG4J2-704:  Improved error message if configuration file not found.
>> o LOG4J2-750:  Webapp configuration page has incorrect class name. Thanks
>> to Mike Calmus.
>> o LOG4J2-749:  Retain the default date pattern after fixing the ISO8601
>> pattern. Thanks to Scott Harrington.
>> o LOG4J2-670:  DatePatternConverter ISO8601_PATTERN now conforms to
>> ISO8601.
>> o LOG4J2-741:  Reinstate the package configuration attribute for
>> discovering custom plugins.
>> o LOG4J2-742:  XInclude not working with relative path. Thanks to Pascal
>> Chollet.
>> o LOG4J2-740:  Fixed typo in webapp manual regarding sample web.xml file.
>> Thanks to Kosta Krauth.
>> o LOG4J2-738:  RollingFileManager deadlock if async action thread fails
>> to start. Thanks to Timothy Stack.
>> o LOG4J2-736:  Fixed log4j-bom so that it won't specify a default scope
>> on any third party dependencies.
>> o LOG4J2-735:  Fixed log4j-bom so that it won't interfere with spring-bom
>> and others.
>> o LOG4J2-731:  Updated documentation regarding extensions to
>> LoggerContextFactory and Log4j 2 providers.
>> o LOG4J2-373:  Fixed ClassLoader issues in loading Log4j providers in an
>> OSGi environment.
>> o LOG4J2-719:  Correctly handle NetworkOnMainThreadException thrown on
>> Android during Log4j2 initialization.
>> o LOG4J2-716:  Automatically disable log4j JMX when detecting we are
>> running on Android.
>> o LOG4J2-657:  Fixed AbstractDatabaseManager to close connection on
>> writeInternal error. Thanks to Stefan Wehner.
>> o LOG4J2-713:  Android: java.lang.VerifyError:
>> org/apache/logging/log4j/core/util/Closer Thanks to Nelson Melina.
>> o LOG4J2-703:  Android: Could not find class
>> 'javax.naming.InitialContext', referenced from method
>> org.apache.logging.log4j.core.lookup.JndiLookup.lookup. Thanks to Nelson
>> Melina.
>>
>> Tag:
>> http://svn.apache.org/repos/asf/logging/log4j/log4j2/tags/log4j-2.0.1/
>>
>> SVN revision: 1614534
>>
>> Web Site: http://people.apache.org/~mattsicker/log4j/2.0.1/
>>
>> Artifacts:
>> https://repository.apache.org/content/repositories/orgapachelogging-1005/
>>
>> You may download all the artifacts by executing:
>>
>> wget -e robots=off --cut-dirs=3 -r -p -np --no-check-certificate
>> https://repository.apache.org/content/repositories/orgapachelogging-1005/
>>
>> --
>> Matt Sicker <bo...@gmail.com>
>>
>
>


-- 
E-Mail: garydgregory@gmail.com | ggregory@apache.org
Java Persistence with Hibernate, Second Edition
<http://www.manning.com/bauer3/>
JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
Spring Batch in Action <http://www.manning.com/templier/>
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory

Re: discuss [VOTE] Log4j 2.0.1 candidate 1

Posted by Remko Popma <re...@gmail.com>.
As long as we fix the release notes contents manually in the announcement
email, these are not showstoppers, are they?


On Thu, Jul 31, 2014 at 12:23 AM, Ralph Goers <ra...@dslextreme.com>
wrote:

> I told you the wiki release page needed a few updates :-).
>
> The release notes are what are used to send the release announcement. So
> when the announcement email is sent out the changes noted below need to be
> made to it.  The wiki needs to be updated to say that announcement.vm needs
> to be reviewed and updated appropriately.
>
> I think this was pointed out when Nick did the release.  It is a bit of a
> PITA to have to update that for every release and keeping track of who
> signed which release is going to be a problem. I think the ASF is looking
> into a more generic code signing solution - or at least I think I recall
> reading about that.
>
> Ralph
>
> On Jul 30, 2014, at 7:57 AM, Remko Popma <re...@gmail.com> wrote:
>
> +1 Artifacts look good, site looks good.
>
> Minor issues found (no showstoppers IMO):
>
> Artifacts
> ---------
> log4j-distribution-2.0.1-bin.zip/apache-log4j-2.0.1-bin/RELEASE-NOTES.txt
> "This is the first GA release, after thirteen prior releases over the last
> 4 years.
>
> ?
>
> Changes in this release..."
>
> -> Should be "...the second GA release..."
> -> The question mark "?" should probably be "Bug fixes and enhancements"
>
>
> Site
> ----
> Download page: "Apache Log4j 2 is signed by Ralph Goers B3D8E1BA"
> -> Is this correct for 2.0.1?
>
> Project Info > Dependency Convergence: logj2-perf uses disruptor-3.2.1,
> but log4j-core uses disruptor-3.3.0.
> (Not an issue since log4j-perf is not a distribution artifact.)
>
>
> Javadoc: many package docs mention "Log4j 2.0". E.g.
>
> http://people.apache.org/~mattsicker/log4j/2.0.1/log4j-api/apidocs/index.html
> Sometime in the future we will release version 2.1, 2.2, etc.
> Should we update all Javadoc pages to "Log4j 2" to future-proof them?
>
> Similarly, the FAQ page mentions "the Log4j 2.0 implementation" and "the
> Log4j 2.0 API".
> We should probably change this to "the Log4j 2 implementation" and "the
> Log4j 2 API".
>
> Manual > Introduction (index.html)
> "The latest log4j version, including full-source code, class files and
>  documentation can be found at
> http://logging.apache.org/log4j/2.0/index.html."
> -> We should change that link to
> http://logging.apache.org/log4j/2.x/index.html
>    (It looks like 2.0 and 2.x both work as URLs.)
>
> Manual > Log4j 1.x Migration also has a few mentions of "2.0".
> Manual > Configuration page has one mention of "2.0".
> Manual > JMX has six places where log4j-api-2.0.jar etc are mentioned.
> -> Can we make these variables to they change with the ${project.version}?
> Manual > Custom Log Levels has two places where log4j-core.2.0.jar is
> mentioned.
> -> Can we make these variables to they change with the ${project.version}?
>
> Manual > Layouts > PatternLayout, %d pattern examples:
> %d{HH:mm:ss}{GMT+0} 18:34:02,781 <- this does not look right? The result
> has millis instead of timezone...
>
> Manual > Architecture > LoggerConfig > Log Levels: (we may want to rewrite
> the text below)
> The set of possible levels includes TRACE, DEBUG, INFO, WARN, ERROR, and
> FATAL.
> Note that in Log4j 2, the Level is an Enum and cannot be sub-classed.
> Users who desire more granularity are encouraged to use Markers instead.
>
> Manual > Extending Log4j > ContextSelector: missing
> AsyncLoggerContextSelector
>
>
>
> On Wed, Jul 30, 2014 at 10:33 AM, Matt Sicker <bo...@gmail.com> wrote:
>
>> This is a vote to release Log4j 2.0.1, the first bug fix release of the
>> 2.0 branch of Log4j 2.
>>
>> Please test and cast your votes.
>> [] +1, release the artifacts
>> [] -1, don't release because...
>>
>> The vote will remain open for 72 hours (or more if required). Note that
>> binding votes, as usual, are done by PMC members. Non-binding votes are
>> welcome from anyone and are always welcome.
>>
>> This is my first time acting as an RM, so if there are any issues with
>> this, please let me know as soon as possible! If you don't already have my
>> GPG key, it's key ID FA1C814D which is available on all the public GPG
>> servers. Otherwise, you can download it from my Apache site at: <
>> http://people.apache.org/~mattsicker/FA1C814D.asc>
>>
>> New features:
>> o LOG4J2-725:  Added WebLoggerContextUtils class to log4j-web for helper
>> methods useful for asynchronous servlets.
>> o LOG4J2-710:  Added documentation for Custom Levels and Custom Loggers.
>>
>> Fixed Bugs:
>> o LOG4J2-744:  Avoid unnecessary Clock calls when TimestampMessage is
>> logged. Thanks to Scott Harrington.
>> o LOG4J2-704:  Improved error message if configuration file not found.
>> o LOG4J2-750:  Webapp configuration page has incorrect class name. Thanks
>> to Mike Calmus.
>> o LOG4J2-749:  Retain the default date pattern after fixing the ISO8601
>> pattern. Thanks to Scott Harrington.
>> o LOG4J2-670:  DatePatternConverter ISO8601_PATTERN now conforms to
>> ISO8601.
>> o LOG4J2-741:  Reinstate the package configuration attribute for
>> discovering custom plugins.
>> o LOG4J2-742:  XInclude not working with relative path. Thanks to Pascal
>> Chollet.
>> o LOG4J2-740:  Fixed typo in webapp manual regarding sample web.xml file.
>> Thanks to Kosta Krauth.
>> o LOG4J2-738:  RollingFileManager deadlock if async action thread fails
>> to start. Thanks to Timothy Stack.
>> o LOG4J2-736:  Fixed log4j-bom so that it won't specify a default scope
>> on any third party dependencies.
>> o LOG4J2-735:  Fixed log4j-bom so that it won't interfere with spring-bom
>> and others.
>> o LOG4J2-731:  Updated documentation regarding extensions to
>> LoggerContextFactory and Log4j 2 providers.
>> o LOG4J2-373:  Fixed ClassLoader issues in loading Log4j providers in an
>> OSGi environment.
>> o LOG4J2-719:  Correctly handle NetworkOnMainThreadException thrown on
>> Android during Log4j2 initialization.
>> o LOG4J2-716:  Automatically disable log4j JMX when detecting we are
>> running on Android.
>> o LOG4J2-657:  Fixed AbstractDatabaseManager to close connection on
>> writeInternal error. Thanks to Stefan Wehner.
>> o LOG4J2-713:  Android: java.lang.VerifyError:
>> org/apache/logging/log4j/core/util/Closer Thanks to Nelson Melina.
>> o LOG4J2-703:  Android: Could not find class
>> 'javax.naming.InitialContext', referenced from method
>> org.apache.logging.log4j.core.lookup.JndiLookup.lookup. Thanks to Nelson
>> Melina.
>>
>> Tag:
>> http://svn.apache.org/repos/asf/logging/log4j/log4j2/tags/log4j-2.0.1/
>>
>> SVN revision: 1614534
>>
>> Web Site: http://people.apache.org/~mattsicker/log4j/2.0.1/
>>
>> Artifacts:
>> https://repository.apache.org/content/repositories/orgapachelogging-1005/
>>
>> You may download all the artifacts by executing:
>>
>> wget -e robots=off --cut-dirs=3 -r -p -np --no-check-certificate
>> https://repository.apache.org/content/repositories/orgapachelogging-1005/
>>
>> --
>> Matt Sicker <bo...@gmail.com>
>>
>
>
>

discuss [VOTE] Log4j 2.0.1 candidate 1

Posted by Ralph Goers <ra...@dslextreme.com>.
I told you the wiki release page needed a few updates :-).

The release notes are what are used to send the release announcement. So when the announcement email is sent out the changes noted below need to be made to it.  The wiki needs to be updated to say that announcement.vm needs to be reviewed and updated appropriately.

I think this was pointed out when Nick did the release.  It is a bit of a PITA to have to update that for every release and keeping track of who signed which release is going to be a problem. I think the ASF is looking into a more generic code signing solution - or at least I think I recall reading about that.

Ralph

On Jul 30, 2014, at 7:57 AM, Remko Popma <re...@gmail.com> wrote:

> +1 Artifacts look good, site looks good.
> 
> Minor issues found (no showstoppers IMO):
> 
> Artifacts
> ---------
> log4j-distribution-2.0.1-bin.zip/apache-log4j-2.0.1-bin/RELEASE-NOTES.txt
> "This is the first GA release, after thirteen prior releases over the last 4 years.
> 
> ?
> 
> Changes in this release..."
> 
> -> Should be "...the second GA release..."
> -> The question mark "?" should probably be "Bug fixes and enhancements"
> 
> 
> Site
> ----
> Download page: "Apache Log4j 2 is signed by Ralph Goers B3D8E1BA"
> -> Is this correct for 2.0.1?
> 
> Project Info > Dependency Convergence: logj2-perf uses disruptor-3.2.1, but log4j-core uses disruptor-3.3.0.
> (Not an issue since log4j-perf is not a distribution artifact.)
> 
> 
> Javadoc: many package docs mention "Log4j 2.0". E.g.
> http://people.apache.org/~mattsicker/log4j/2.0.1/log4j-api/apidocs/index.html
> Sometime in the future we will release version 2.1, 2.2, etc.
> Should we update all Javadoc pages to "Log4j 2" to future-proof them?
> 
> Similarly, the FAQ page mentions "the Log4j 2.0 implementation" and "the Log4j 2.0 API".
> We should probably change this to "the Log4j 2 implementation" and "the Log4j 2 API".
> 
> Manual > Introduction (index.html)
> "The latest log4j version, including full-source code, class files and 
>  documentation can be found at http://logging.apache.org/log4j/2.0/index.html."
> -> We should change that link to http://logging.apache.org/log4j/2.x/index.html
>    (It looks like 2.0 and 2.x both work as URLs.)
> 
> Manual > Log4j 1.x Migration also has a few mentions of "2.0".
> Manual > Configuration page has one mention of "2.0".
> Manual > JMX has six places where log4j-api-2.0.jar etc are mentioned. 
> 		-> Can we make these variables to they change with the ${project.version}?
> Manual > Custom Log Levels has two places where log4j-core.2.0.jar is mentioned.
> 		-> Can we make these variables to they change with the ${project.version}?
> 
> Manual > Layouts > PatternLayout, %d pattern examples:
> %d{HH:mm:ss}{GMT+0}	18:34:02,781 <- this does not look right? The result has millis instead of timezone...
> 
> Manual > Architecture > LoggerConfig > Log Levels: (we may want to rewrite the text below)
> The set of possible levels includes TRACE, DEBUG, INFO, WARN, ERROR, and FATAL.
> Note that in Log4j 2, the Level is an Enum and cannot be sub-classed.
> Users who desire more granularity are encouraged to use Markers instead.
> 
> Manual > Extending Log4j > ContextSelector: missing AsyncLoggerContextSelector
> 
> 
> 
> On Wed, Jul 30, 2014 at 10:33 AM, Matt Sicker <bo...@gmail.com> wrote:
> This is a vote to release Log4j 2.0.1, the first bug fix release of the 2.0 branch of Log4j 2.
> 
> Please test and cast your votes.
> [] +1, release the artifacts
> [] -1, don't release because...
> 
> The vote will remain open for 72 hours (or more if required). Note that binding votes, as usual, are done by PMC members. Non-binding votes are welcome from anyone and are always welcome.
> 
> This is my first time acting as an RM, so if there are any issues with this, please let me know as soon as possible! If you don't already have my GPG key, it's key ID FA1C814D which is available on all the public GPG servers. Otherwise, you can download it from my Apache site at: <http://people.apache.org/~mattsicker/FA1C814D.asc>
> 
> New features:
> o LOG4J2-725:  Added WebLoggerContextUtils class to log4j-web for helper methods useful for asynchronous servlets. 
> o LOG4J2-710:  Added documentation for Custom Levels and Custom Loggers. 
> 
> Fixed Bugs:
> o LOG4J2-744:  Avoid unnecessary Clock calls when TimestampMessage is logged. Thanks to Scott Harrington. 
> o LOG4J2-704:  Improved error message if configuration file not found. 
> o LOG4J2-750:  Webapp configuration page has incorrect class name. Thanks to Mike Calmus. 
> o LOG4J2-749:  Retain the default date pattern after fixing the ISO8601 pattern. Thanks to Scott Harrington. 
> o LOG4J2-670:  DatePatternConverter ISO8601_PATTERN now conforms to ISO8601. 
> o LOG4J2-741:  Reinstate the package configuration attribute for discovering custom plugins. 
> o LOG4J2-742:  XInclude not working with relative path. Thanks to Pascal Chollet. 
> o LOG4J2-740:  Fixed typo in webapp manual regarding sample web.xml file. Thanks to Kosta Krauth. 
> o LOG4J2-738:  RollingFileManager deadlock if async action thread fails to start. Thanks to Timothy Stack. 
> o LOG4J2-736:  Fixed log4j-bom so that it won't specify a default scope on any third party dependencies. 
> o LOG4J2-735:  Fixed log4j-bom so that it won't interfere with spring-bom and others. 
> o LOG4J2-731:  Updated documentation regarding extensions to LoggerContextFactory and Log4j 2 providers. 
> o LOG4J2-373:  Fixed ClassLoader issues in loading Log4j providers in an OSGi environment. 
> o LOG4J2-719:  Correctly handle NetworkOnMainThreadException thrown on Android during Log4j2 initialization. 
> o LOG4J2-716:  Automatically disable log4j JMX when detecting we are running on Android. 
> o LOG4J2-657:  Fixed AbstractDatabaseManager to close connection on writeInternal error. Thanks to Stefan Wehner. 
> o LOG4J2-713:  Android: java.lang.VerifyError: org/apache/logging/log4j/core/util/Closer Thanks to Nelson Melina. 
> o LOG4J2-703:  Android: Could not find class 'javax.naming.InitialContext', referenced from method org.apache.logging.log4j.core.lookup.JndiLookup.lookup. Thanks to Nelson Melina. 
> 
> Tag: http://svn.apache.org/repos/asf/logging/log4j/log4j2/tags/log4j-2.0.1/
> 
> SVN revision: 1614534
> 
> Web Site: http://people.apache.org/~mattsicker/log4j/2.0.1/
> 
> Artifacts: https://repository.apache.org/content/repositories/orgapachelogging-1005/
> 
> You may download all the artifacts by executing:
> 
> wget -e robots=off --cut-dirs=3 -r -p -np --no-check-certificate https://repository.apache.org/content/repositories/orgapachelogging-1005/
> 
> -- 
> Matt Sicker <bo...@gmail.com>
> 


Re: [VOTE] Log4j 2.0.1 candidate 1

Posted by Remko Popma <re...@gmail.com>.
+1 Artifacts look good, site looks good.

Minor issues found (no showstoppers IMO):

Artifacts
---------
log4j-distribution-2.0.1-bin.zip/apache-log4j-2.0.1-bin/RELEASE-NOTES.txt
"This is the first GA release, after thirteen prior releases over the last
4 years.

?

Changes in this release..."

-> Should be "...the second GA release..."
-> The question mark "?" should probably be "Bug fixes and enhancements"


Site
----
Download page: "Apache Log4j 2 is signed by Ralph Goers B3D8E1BA"
-> Is this correct for 2.0.1?

Project Info > Dependency Convergence: logj2-perf uses disruptor-3.2.1, but
log4j-core uses disruptor-3.3.0.
(Not an issue since log4j-perf is not a distribution artifact.)


Javadoc: many package docs mention "Log4j 2.0". E.g.
http://people.apache.org/~mattsicker/log4j/2.0.1/log4j-api/apidocs/index.html
Sometime in the future we will release version 2.1, 2.2, etc.
Should we update all Javadoc pages to "Log4j 2" to future-proof them?

Similarly, the FAQ page mentions "the Log4j 2.0 implementation" and "the
Log4j 2.0 API".
We should probably change this to "the Log4j 2 implementation" and "the
Log4j 2 API".

Manual > Introduction (index.html)
"The latest log4j version, including full-source code, class files and
 documentation can be found at
http://logging.apache.org/log4j/2.0/index.html."
-> We should change that link to
http://logging.apache.org/log4j/2.x/index.html
   (It looks like 2.0 and 2.x both work as URLs.)

Manual > Log4j 1.x Migration also has a few mentions of "2.0".
Manual > Configuration page has one mention of "2.0".
Manual > JMX has six places where log4j-api-2.0.jar etc are mentioned.
-> Can we make these variables to they change with the ${project.version}?
Manual > Custom Log Levels has two places where log4j-core.2.0.jar is
mentioned.
-> Can we make these variables to they change with the ${project.version}?

Manual > Layouts > PatternLayout, %d pattern examples:
%d{HH:mm:ss}{GMT+0} 18:34:02,781 <- this does not look right? The result
has millis instead of timezone...

Manual > Architecture > LoggerConfig > Log Levels: (we may want to rewrite
the text below)
The set of possible levels includes TRACE, DEBUG, INFO, WARN, ERROR, and
FATAL.
Note that in Log4j 2, the Level is an Enum and cannot be sub-classed.
Users who desire more granularity are encouraged to use Markers instead.

Manual > Extending Log4j > ContextSelector: missing
AsyncLoggerContextSelector



On Wed, Jul 30, 2014 at 10:33 AM, Matt Sicker <bo...@gmail.com> wrote:

> This is a vote to release Log4j 2.0.1, the first bug fix release of the
> 2.0 branch of Log4j 2.
>
> Please test and cast your votes.
> [] +1, release the artifacts
> [] -1, don't release because...
>
> The vote will remain open for 72 hours (or more if required). Note that
> binding votes, as usual, are done by PMC members. Non-binding votes are
> welcome from anyone and are always welcome.
>
> This is my first time acting as an RM, so if there are any issues with
> this, please let me know as soon as possible! If you don't already have my
> GPG key, it's key ID FA1C814D which is available on all the public GPG
> servers. Otherwise, you can download it from my Apache site at: <
> http://people.apache.org/~mattsicker/FA1C814D.asc>
>
> New features:
> o LOG4J2-725:  Added WebLoggerContextUtils class to log4j-web for helper
> methods useful for asynchronous servlets.
> o LOG4J2-710:  Added documentation for Custom Levels and Custom Loggers.
>
> Fixed Bugs:
> o LOG4J2-744:  Avoid unnecessary Clock calls when TimestampMessage is
> logged. Thanks to Scott Harrington.
> o LOG4J2-704:  Improved error message if configuration file not found.
> o LOG4J2-750:  Webapp configuration page has incorrect class name. Thanks
> to Mike Calmus.
> o LOG4J2-749:  Retain the default date pattern after fixing the ISO8601
> pattern. Thanks to Scott Harrington.
> o LOG4J2-670:  DatePatternConverter ISO8601_PATTERN now conforms to
> ISO8601.
> o LOG4J2-741:  Reinstate the package configuration attribute for
> discovering custom plugins.
> o LOG4J2-742:  XInclude not working with relative path. Thanks to Pascal
> Chollet.
> o LOG4J2-740:  Fixed typo in webapp manual regarding sample web.xml file.
> Thanks to Kosta Krauth.
> o LOG4J2-738:  RollingFileManager deadlock if async action thread fails to
> start. Thanks to Timothy Stack.
> o LOG4J2-736:  Fixed log4j-bom so that it won't specify a default scope on
> any third party dependencies.
> o LOG4J2-735:  Fixed log4j-bom so that it won't interfere with spring-bom
> and others.
> o LOG4J2-731:  Updated documentation regarding extensions to
> LoggerContextFactory and Log4j 2 providers.
> o LOG4J2-373:  Fixed ClassLoader issues in loading Log4j providers in an
> OSGi environment.
> o LOG4J2-719:  Correctly handle NetworkOnMainThreadException thrown on
> Android during Log4j2 initialization.
> o LOG4J2-716:  Automatically disable log4j JMX when detecting we are
> running on Android.
> o LOG4J2-657:  Fixed AbstractDatabaseManager to close connection on
> writeInternal error. Thanks to Stefan Wehner.
> o LOG4J2-713:  Android: java.lang.VerifyError:
> org/apache/logging/log4j/core/util/Closer Thanks to Nelson Melina.
> o LOG4J2-703:  Android: Could not find class
> 'javax.naming.InitialContext', referenced from method
> org.apache.logging.log4j.core.lookup.JndiLookup.lookup. Thanks to Nelson
> Melina.
>
> Tag:
> http://svn.apache.org/repos/asf/logging/log4j/log4j2/tags/log4j-2.0.1/
>
> SVN revision: 1614534
>
> Web Site: http://people.apache.org/~mattsicker/log4j/2.0.1/
>
> Artifacts:
> https://repository.apache.org/content/repositories/orgapachelogging-1005/
>
> You may download all the artifacts by executing:
>
> wget -e robots=off --cut-dirs=3 -r -p -np --no-check-certificate
> https://repository.apache.org/content/repositories/orgapachelogging-1005/
>
> --
> Matt Sicker <bo...@gmail.com>
>