logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Gregory <garydgreg...@gmail.com>
Subject Re: [Vote] Log4j 2.0-alpha1 rc1
Date Sun, 15 Jul 2012 13:36:20 GMT
Hi All:

I've only now been able to take a peek at v2 in SVN so... sorry for the
late email but I feel better late than never.

With log4j 1.2, my usage pattern is:

logger.debug(String.format("This %s and that %d on this day %1$tm
%1$te,%1$tY", this, this.getThat(), this.getCalendar()));

In 2.0, we have this example:

logger.debug("Logging in user {} with id {}", user.getName(), user.getId());

Why invent a new syntax when String.format is baked into the JRE?

Thank you,
Gary

On Sun, Jul 15, 2012 at 2:44 AM, Ralph Goers <ralph.goers@dslextreme.com>wrote:

> This is a vote to release Log4j 2.0-alpha1, which will be the first
> release of Log4j 2.0.
>
> Tag:
>
> https://svn.apache.org/repos/asf/logging/log4j/log4j2/tags/log4j-2.0-alpha1/
>
> Web site:
> http://people.apache.org/~rgoers/log4j2/
>
> Artifacts:
> Nexus Staging Location:
> https://repository.apache.org/content/repositories/orgapachelogging-050/
>  Each of the artifacts below will be located in the location of its Maven
> coordinates. For example, log4j-core-2.0-alpha1.jar is located
> at org/apache/logging/log4j/log4j-core/2.0-alpha1/log4j-core-2.0-alpha1.jar,
> under the Nexus staging location.
>
> *Description:*
>
> Log4j 2.0-alpha1
>
> *Details:*
>
> The following artifacts have been staged to the org.apache.logging-050
> (u:rgoers, a:99.180.69.21)<https://repository.apache.org/content/repositories/orgapachelogging-050>
>  repository.
>
> archetype-catalog.xml<https://repository.apache.org/content/repositories/orgapachelogging-050/archetype-catalog.xml>
> log4j-flume-ng-2.0-alpha1-javadoc.jar<https://repository.apache.org/content/repositories/orgapachelogging-050/org/apache/logging/log4j/log4j-flume-ng/2.0-alpha1/log4j-flume-ng-2.0-alpha1-javadoc.jar>
> log4j-flume-ng-2.0-alpha1-tests.jar.asc<https://repository.apache.org/content/repositories/orgapachelogging-050/org/apache/logging/log4j/log4j-flume-ng/2.0-alpha1/log4j-flume-ng-2.0-alpha1-tests.jar.asc>
> log4j-flume-ng-2.0-alpha1-javadoc.jar.asc<https://repository.apache.org/content/repositories/orgapachelogging-050/org/apache/logging/log4j/log4j-flume-ng/2.0-alpha1/log4j-flume-ng-2.0-alpha1-javadoc.jar.asc>
> log4j-flume-ng-2.0-alpha1-sources.jar.asc<https://repository.apache.org/content/repositories/orgapachelogging-050/org/apache/logging/log4j/log4j-flume-ng/2.0-alpha1/log4j-flume-ng-2.0-alpha1-sources.jar.asc>
> log4j-flume-ng-2.0-alpha1.jar.asc<https://repository.apache.org/content/repositories/orgapachelogging-050/org/apache/logging/log4j/log4j-flume-ng/2.0-alpha1/log4j-flume-ng-2.0-alpha1.jar.asc>
> log4j-flume-ng-2.0-alpha1.jar<https://repository.apache.org/content/repositories/orgapachelogging-050/org/apache/logging/log4j/log4j-flume-ng/2.0-alpha1/log4j-flume-ng-2.0-alpha1.jar>
> log4j-flume-ng-2.0-alpha1.pom<https://repository.apache.org/content/repositories/orgapachelogging-050/org/apache/logging/log4j/log4j-flume-ng/2.0-alpha1/log4j-flume-ng-2.0-alpha1.pom>
> log4j-flume-ng-2.0-alpha1-sources.jar<https://repository.apache.org/content/repositories/orgapachelogging-050/org/apache/logging/log4j/log4j-flume-ng/2.0-alpha1/log4j-flume-ng-2.0-alpha1-sources.jar>
> log4j-flume-ng-2.0-alpha1-tests.jar<https://repository.apache.org/content/repositories/orgapachelogging-050/org/apache/logging/log4j/log4j-flume-ng/2.0-alpha1/log4j-flume-ng-2.0-alpha1-tests.jar>
> log4j-flume-ng-2.0-alpha1.pom.asc<https://repository.apache.org/content/repositories/orgapachelogging-050/org/apache/logging/log4j/log4j-flume-ng/2.0-alpha1/log4j-flume-ng-2.0-alpha1.pom.asc>
> log4j-jcl-2.0-alpha1-sources.jar<https://repository.apache.org/content/repositories/orgapachelogging-050/org/apache/logging/log4j/log4j-jcl/2.0-alpha1/log4j-jcl-2.0-alpha1-sources.jar>
> log4j-jcl-2.0-alpha1.pom.asc<https://repository.apache.org/content/repositories/orgapachelogging-050/org/apache/logging/log4j/log4j-jcl/2.0-alpha1/log4j-jcl-2.0-alpha1.pom.asc>
> log4j-jcl-2.0-alpha1-sources.jar.asc<https://repository.apache.org/content/repositories/orgapachelogging-050/org/apache/logging/log4j/log4j-jcl/2.0-alpha1/log4j-jcl-2.0-alpha1-sources.jar.asc>
> log4j-jcl-2.0-alpha1-javadoc.jar.asc<https://repository.apache.org/content/repositories/orgapachelogging-050/org/apache/logging/log4j/log4j-jcl/2.0-alpha1/log4j-jcl-2.0-alpha1-javadoc.jar.asc>
> log4j-jcl-2.0-alpha1.jar<https://repository.apache.org/content/repositories/orgapachelogging-050/org/apache/logging/log4j/log4j-jcl/2.0-alpha1/log4j-jcl-2.0-alpha1.jar>
> log4j-jcl-2.0-alpha1.pom<https://repository.apache.org/content/repositories/orgapachelogging-050/org/apache/logging/log4j/log4j-jcl/2.0-alpha1/log4j-jcl-2.0-alpha1.pom>
> log4j-jcl-2.0-alpha1.jar.asc<https://repository.apache.org/content/repositories/orgapachelogging-050/org/apache/logging/log4j/log4j-jcl/2.0-alpha1/log4j-jcl-2.0-alpha1.jar.asc>
> log4j-jcl-2.0-alpha1-javadoc.jar<https://repository.apache.org/content/repositories/orgapachelogging-050/org/apache/logging/log4j/log4j-jcl/2.0-alpha1/log4j-jcl-2.0-alpha1-javadoc.jar>
> log4j12-api-2.0-alpha1-javadoc.jar.asc<https://repository.apache.org/content/repositories/orgapachelogging-050/org/apache/logging/log4j/log4j12-api/2.0-alpha1/log4j12-api-2.0-alpha1-javadoc.jar.asc>
> log4j12-api-2.0-alpha1-sources.jar<https://repository.apache.org/content/repositories/orgapachelogging-050/org/apache/logging/log4j/log4j12-api/2.0-alpha1/log4j12-api-2.0-alpha1-sources.jar>
> log4j12-api-2.0-alpha1-sources.jar.asc<https://repository.apache.org/content/repositories/orgapachelogging-050/org/apache/logging/log4j/log4j12-api/2.0-alpha1/log4j12-api-2.0-alpha1-sources.jar.asc>
> log4j12-api-2.0-alpha1.jar<https://repository.apache.org/content/repositories/orgapachelogging-050/org/apache/logging/log4j/log4j12-api/2.0-alpha1/log4j12-api-2.0-alpha1.jar>
> log4j12-api-2.0-alpha1.pom.asc<https://repository.apache.org/content/repositories/orgapachelogging-050/org/apache/logging/log4j/log4j12-api/2.0-alpha1/log4j12-api-2.0-alpha1.pom.asc>
> log4j12-api-2.0-alpha1-javadoc.jar<https://repository.apache.org/content/repositories/orgapachelogging-050/org/apache/logging/log4j/log4j12-api/2.0-alpha1/log4j12-api-2.0-alpha1-javadoc.jar>
> log4j12-api-2.0-alpha1.pom<https://repository.apache.org/content/repositories/orgapachelogging-050/org/apache/logging/log4j/log4j12-api/2.0-alpha1/log4j12-api-2.0-alpha1.pom>
> log4j12-api-2.0-alpha1.jar.asc<https://repository.apache.org/content/repositories/orgapachelogging-050/org/apache/logging/log4j/log4j12-api/2.0-alpha1/log4j12-api-2.0-alpha1.jar.asc>
> log4j-distribution-2.0-alpha1-bin.zip.asc<https://repository.apache.org/content/repositories/orgapachelogging-050/org/apache/logging/log4j/log4j-distribution/2.0-alpha1/log4j-distribution-2.0-alpha1-bin.zip.asc>
> log4j-distribution-2.0-alpha1-src.zip<https://repository.apache.org/content/repositories/orgapachelogging-050/org/apache/logging/log4j/log4j-distribution/2.0-alpha1/log4j-distribution-2.0-alpha1-src.zip>
> log4j-distribution-2.0-alpha1-bin.zip<https://repository.apache.org/content/repositories/orgapachelogging-050/org/apache/logging/log4j/log4j-distribution/2.0-alpha1/log4j-distribution-2.0-alpha1-bin.zip>
> log4j-distribution-2.0-alpha1.pom<https://repository.apache.org/content/repositories/orgapachelogging-050/org/apache/logging/log4j/log4j-distribution/2.0-alpha1/log4j-distribution-2.0-alpha1.pom>
> log4j-distribution-2.0-alpha1-src.zip.asc<https://repository.apache.org/content/repositories/orgapachelogging-050/org/apache/logging/log4j/log4j-distribution/2.0-alpha1/log4j-distribution-2.0-alpha1-src.zip.asc>
> log4j-distribution-2.0-alpha1-src.tar.gz.asc<https://repository.apache.org/content/repositories/orgapachelogging-050/org/apache/logging/log4j/log4j-distribution/2.0-alpha1/log4j-distribution-2.0-alpha1-src.tar.gz.asc>
> log4j-distribution-2.0-alpha1-src.tar.gz<https://repository.apache.org/content/repositories/orgapachelogging-050/org/apache/logging/log4j/log4j-distribution/2.0-alpha1/log4j-distribution-2.0-alpha1-src.tar.gz>
> log4j-distribution-2.0-alpha1-bin.tar.gz.asc<https://repository.apache.org/content/repositories/orgapachelogging-050/org/apache/logging/log4j/log4j-distribution/2.0-alpha1/log4j-distribution-2.0-alpha1-bin.tar.gz.asc>
> log4j-distribution-2.0-alpha1-bin.tar.gz<https://repository.apache.org/content/repositories/orgapachelogging-050/org/apache/logging/log4j/log4j-distribution/2.0-alpha1/log4j-distribution-2.0-alpha1-bin.tar.gz>
> log4j-distribution-2.0-alpha1.pom.asc<https://repository.apache.org/content/repositories/orgapachelogging-050/org/apache/logging/log4j/log4j-distribution/2.0-alpha1/log4j-distribution-2.0-alpha1.pom.asc>
> log4j-2.0-alpha1.pom<https://repository.apache.org/content/repositories/orgapachelogging-050/org/apache/logging/log4j/log4j/2.0-alpha1/log4j-2.0-alpha1.pom>
> log4j-2.0-alpha1.pom.asc<https://repository.apache.org/content/repositories/orgapachelogging-050/org/apache/logging/log4j/log4j/2.0-alpha1/log4j-2.0-alpha1.pom.asc>
> log4j-core-2.0-alpha1-javadoc.jar<https://repository.apache.org/content/repositories/orgapachelogging-050/org/apache/logging/log4j/log4j-core/2.0-alpha1/log4j-core-2.0-alpha1-javadoc.jar>
> log4j-core-2.0-alpha1.pom<https://repository.apache.org/content/repositories/orgapachelogging-050/org/apache/logging/log4j/log4j-core/2.0-alpha1/log4j-core-2.0-alpha1.pom>
> log4j-core-2.0-alpha1.pom.asc<https://repository.apache.org/content/repositories/orgapachelogging-050/org/apache/logging/log4j/log4j-core/2.0-alpha1/log4j-core-2.0-alpha1.pom.asc>
> log4j-core-2.0-alpha1-tests.jar.asc<https://repository.apache.org/content/repositories/orgapachelogging-050/org/apache/logging/log4j/log4j-core/2.0-alpha1/log4j-core-2.0-alpha1-tests.jar.asc>
> log4j-core-2.0-alpha1-sources.jar<https://repository.apache.org/content/repositories/orgapachelogging-050/org/apache/logging/log4j/log4j-core/2.0-alpha1/log4j-core-2.0-alpha1-sources.jar>
> log4j-core-2.0-alpha1-tests.jar<https://repository.apache.org/content/repositories/orgapachelogging-050/org/apache/logging/log4j/log4j-core/2.0-alpha1/log4j-core-2.0-alpha1-tests.jar>
> log4j-core-2.0-alpha1-sources.jar.asc<https://repository.apache.org/content/repositories/orgapachelogging-050/org/apache/logging/log4j/log4j-core/2.0-alpha1/log4j-core-2.0-alpha1-sources.jar.asc>
> log4j-core-2.0-alpha1-javadoc.jar.asc<https://repository.apache.org/content/repositories/orgapachelogging-050/org/apache/logging/log4j/log4j-core/2.0-alpha1/log4j-core-2.0-alpha1-javadoc.jar.asc>
> log4j-core-2.0-alpha1.jar.asc<https://repository.apache.org/content/repositories/orgapachelogging-050/org/apache/logging/log4j/log4j-core/2.0-alpha1/log4j-core-2.0-alpha1.jar.asc>
> log4j-core-2.0-alpha1.jar<https://repository.apache.org/content/repositories/orgapachelogging-050/org/apache/logging/log4j/log4j-core/2.0-alpha1/log4j-core-2.0-alpha1.jar>
> log4j-api-2.0-alpha1.jar.asc<https://repository.apache.org/content/repositories/orgapachelogging-050/org/apache/logging/log4j/log4j-api/2.0-alpha1/log4j-api-2.0-alpha1.jar.asc>
> log4j-api-2.0-alpha1.pom<https://repository.apache.org/content/repositories/orgapachelogging-050/org/apache/logging/log4j/log4j-api/2.0-alpha1/log4j-api-2.0-alpha1.pom>
> log4j-api-2.0-alpha1-javadoc.jar.asc<https://repository.apache.org/content/repositories/orgapachelogging-050/org/apache/logging/log4j/log4j-api/2.0-alpha1/log4j-api-2.0-alpha1-javadoc.jar.asc>
> log4j-api-2.0-alpha1-sources.jar<https://repository.apache.org/content/repositories/orgapachelogging-050/org/apache/logging/log4j/log4j-api/2.0-alpha1/log4j-api-2.0-alpha1-sources.jar>
> log4j-api-2.0-alpha1-sources.jar.asc<https://repository.apache.org/content/repositories/orgapachelogging-050/org/apache/logging/log4j/log4j-api/2.0-alpha1/log4j-api-2.0-alpha1-sources.jar.asc>
> log4j-api-2.0-alpha1.jar<https://repository.apache.org/content/repositories/orgapachelogging-050/org/apache/logging/log4j/log4j-api/2.0-alpha1/log4j-api-2.0-alpha1.jar>
> log4j-api-2.0-alpha1-javadoc.jar<https://repository.apache.org/content/repositories/orgapachelogging-050/org/apache/logging/log4j/log4j-api/2.0-alpha1/log4j-api-2.0-alpha1-javadoc.jar>
> log4j-api-2.0-alpha1.pom.asc<https://repository.apache.org/content/repositories/orgapachelogging-050/org/apache/logging/log4j/log4j-api/2.0-alpha1/log4j-api-2.0-alpha1.pom.asc>
> slf4j-impl-2.0-alpha1-sources.jar.asc<https://repository.apache.org/content/repositories/orgapachelogging-050/org/apache/logging/log4j/slf4j-impl/2.0-alpha1/slf4j-impl-2.0-alpha1-sources.jar.asc>
> slf4j-impl-2.0-alpha1.pom<https://repository.apache.org/content/repositories/orgapachelogging-050/org/apache/logging/log4j/slf4j-impl/2.0-alpha1/slf4j-impl-2.0-alpha1.pom>
> slf4j-impl-2.0-alpha1-javadoc.jar<https://repository.apache.org/content/repositories/orgapachelogging-050/org/apache/logging/log4j/slf4j-impl/2.0-alpha1/slf4j-impl-2.0-alpha1-javadoc.jar>
> slf4j-impl-2.0-alpha1.jar<https://repository.apache.org/content/repositories/orgapachelogging-050/org/apache/logging/log4j/slf4j-impl/2.0-alpha1/slf4j-impl-2.0-alpha1.jar>
> slf4j-impl-2.0-alpha1.jar.asc<https://repository.apache.org/content/repositories/orgapachelogging-050/org/apache/logging/log4j/slf4j-impl/2.0-alpha1/slf4j-impl-2.0-alpha1.jar.asc>
> slf4j-impl-2.0-alpha1-javadoc.jar.asc<https://repository.apache.org/content/repositories/orgapachelogging-050/org/apache/logging/log4j/slf4j-impl/2.0-alpha1/slf4j-impl-2.0-alpha1-javadoc.jar.asc>
> slf4j-impl-2.0-alpha1-sources.jar<https://repository.apache.org/content/repositories/orgapachelogging-050/org/apache/logging/log4j/slf4j-impl/2.0-alpha1/slf4j-impl-2.0-alpha1-sources.jar>
> slf4j-impl-2.0-alpha1.pom.asc<https://repository.apache.org/content/repositories/orgapachelogging-050/org/apache/logging/log4j/slf4j-impl/2.0-alpha1/slf4j-impl-2.0-alpha1.pom.asc>
>



-- 
E-Mail: garydgregory@gmail.com | ggregory@apache.org
JUnit in Action, 2nd Ed: <http://goog_1249600977>http://bit.ly/ECvg0
Spring Batch in Action: <http://s.apache.org/HOq>http://bit.ly/bqpbCK
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory

Mime
View raw message