Hi all:
I am trying to get this simple example working, I included all the jars in
apache-log4j-2.0-beta4-bin
import org.apache.logging.log4j.LogManager;import
org.apache.logging.log4j.Logger; public class HelloWorld {private static
Logger logger = LogManager.getLogger(HelloWorld);
I've been a Log4j 1 user for years and I love it. I'm currently writing a book
for Java EE 7 + Spring Framework 4 development and one of my chapters is on
application logging. I was going to cover Log4j 1 and then I stumbled upon
Log4j 2. It looks like a serious improvement over Log4j 1 and I'm
This has long frustrated me as well. Many times I find broken links and am
forced to do a lot of hand URL editing/probing to find what there is.
On Sun, Mar 24, 2013 at 4:08 AM, Nick Williams
nicho...@nicholaswilliams.net wrote:
3) Where is the darned JavaDoc API documentation? I'm quite
Can you provide the list of jars you have on your classpath?
Ralph
On Mar 23, 2013, at 11:08 PM, wangke wrote:
Hi all:
I am trying to get this simple example working, I included all the jars in
apache-log4j-2.0-beta4-bin
import org.apache.logging.log4j.LogManager;import
Here it
is:log4j-1.2-api-2.0-beta4log4j-api-2.0-beta4log4j-core-2.0-beta4-testslog4j-core-2.0-beta4log4j-flume-ng-2.0-beta4log4j-jcl-2.0-beta4log4j-slf4j-impl-2.0-beta4log4j-to-slf4j-2.0-beta4slf4j-api-1.7.2slf4j-ext-1.7.2
Subject: Re: Problems with log4j 2
From: ralph.go...@dslextreme.com
You cannot have both log4j-slf4j-impl and log4j-to-slf4j. The first routes all
calls from the SLF4J API to the Log4j 2 API. The second routes all calls from
the Log4j 2 API to SLF4J. This is creating the circularity. You should only
include the jars you need based on what you want to do. For
First, while I've done a lot of the work up until this point Apache is a place
where the community makes the decisions.
1) How stable is the API? We recently had requests to add at least one
log(level, ) method to the API. That will probably be done. We have also
had a request to
Yikes. This could take some getting used to. For years the Tomcat mailing list
has drilled top posting is bad into my head, and then I come here and top
posting is all y'all do. :-P
Understood that the community makes the decisions. I have been contributing to
the Tomcat project for a while