xmlfilecan be anywhere in your classpath.
But you haveto choose between log4j api or sun's logging in jdk.
log4j.jar should also be in the classpath with commons-logging.jar if you choose it.log4j.xml has usage precedence over the properties file.
you can also give a VM argument for the
Thanks. I solve my problema, there was an little error on log4j.xml[]'sOn 3/30/06, Mert Çalışkan [EMAIL PROTECTED]
wrote:xmlfilecan be anywhere in your classpath.
But you haveto choose between log4j api or sun's logging in jdk.
log4j.jar should also be in the classpath with
You can define a log4j.xml in your classpath i definitely suggest you to use commons-logging. Here is an example log4j.xml. You can define multiple loggers with different package names. By this you can discriminate your application (
tr.yourpackagename) log. You can also add other appenders.
What is in
yourlog4j.properties? You have some setting in it to show the myfaces
logs.
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of DuduSent:
Monday, March 27, 2006 10:57 AMTo: MyFaces Official
ListSubject: disabling logs on myfaces
I have a log4j.properties file, but I
4 matches
Mail list logo