> -Original Message-
> From: Jacob Kjome [mailto:h...@visi.com]
> Sent: Thursday, May 26, 2011 2:15 PM
> To: Log4J Users List
> Subject: Re: Getting "Could not find root logger information" but I
> don't see why
>
>
> >Due to some other constraints, I appear to be
> >forced to have my log
Due to some other constraints, I appear to be
forced to have my log4j.jar at both the EAR and WAR classpath level. In my
WebLogic config, I'm doing everything I can to make it "prefer" the jars in
the webapp.
If you are using Weblogic 9.2+, then you may be able to use a
FilteringClassLoa
You might be interested in the "it.openutils.log4j.AlternateSMTPAppender"
[1]. It allows for dynamic subjects and more. Note that I am not affiliated
with this project. I just found it to be useful.
[1] http://www.openmindlab.com/lab/tools/openutilslog4j/smtp.html
Jake
On Mon, 23 May
> -Original Message-
> From: Jacob Kjome [mailto:h...@visi.com]
> Sent: Thursday, May 26, 2011 9:35 AM
> To: Log4J Users List
> Subject: Re: Getting "Could not find root logger information" but I
> don't see why
>
> Is that a literal path?
>
> "...\my.ear\my.war\WEB-INF/log4j.xml"
No
Yes. It will be relative to the directory from which the JVM started from.
Jake
On Thu, 26 May 2011 17:32:00 +0100
Jiafan Zhou wrote:
The following log4j.properties uses a relative path for redirected file. Is
it valid?
log4j.appender.file=org.apache.log4j.RollingFileAppender
log4j.appende
Is that a literal path?
"...\my.ear\my.war\WEB-INF/log4j.xml"
First, it's invalid since it has 3 periods, rather than 1 or 2. Second, your
slashes are inconsistent. If you want to be agnostic to the OS, just always
use forward slashes ("/"), which will work under both Unix and Windows in
The following log4j.properties uses a relative path for redirected file. Is
it valid?
log4j.appender.file=org.apache.log4j.RollingFileAppender
log4j.appender.file.File=./output.log
log4j.appender.file.MaxFileSize=10MB
log4j.appender.file.MaxBackupIndex=5
log4j.appender.file.layout=org.apache.log4j
> -Original Message-
> From: KARR, DAVID (ATTSI)
> Sent: Wednesday, May 25, 2011 6:28 PM
> To: log4j-user@logging.apache.org
> Subject: Getting "Could not find root logger information" but I don't
> see why
>
> Using log4j 1.2.16 in WebLogic 10.3.2.
>
> While my app is starting up, I'm se
Hello all,
I want to configure a CompositeTriggeringPolicy inside my log4j.xml, but I have
not been able to find any documentation on how to pass individual triggering
policies to it. The Javadoc doesn't seem to address the issue. Could anyone
please give me a short example of how this is suppo