Thanks for your help. I included the properties file in a separate jar.
> From: toriv...@arrive.no
> To: users@wicket.apache.org
> Date: Thu, 29 Mar 2012 08:38:57 +0200
> Subject: RE: log4j.properties
>
> > Additionally you can put log4j.properties in its own jar and put i
> Additionally you can put log4j.properties in its own jar and put it in
> $tomcat/lib.
That's the default for Tomcat 6+, but formally the location for shared
classpath entries is defined in the property common.loader in
$tomcat/conf/catalina.properties. So e.g. to "re-esta
correct way to do it.
Additionally you can put log4j.properties in its own jar and put it in
$tomcat/lib.
But since you just begin you better check Logback project -
http://logback.qos.ch/
> A log4j forum is probably the best place to query the current "best
> practice" on thi
t; on this.
From: JASON HOLT
To:
Date: 03/28/2012 12:49 PM
Subject:log4j.properties
I'm new to Java, Tomcat, and Wicket. I apologize in advance for asking the
obvious.
Tomcat logs complain that log4j is not properly configured. I placed my
log4j.properties file
I'm new to Java, Tomcat, and Wicket. I apologize in advance for asking the
obvious.
Tomcat logs complain that log4j is not properly configured. I placed my
log4j.properties file in the /WEB-INF/classes folder and errors stop.
I would like ALL Wicket applications to share a s
Changes to the test classpath suggested by Igor worked. I was under the
wrong impression that Wicket Tester was deploying my web app the same way it
is deployed in Tomcat in production and hence was always reading
WEB-INF/classes/log4j.properties.
On Fri, Mar 19, 2010 at 2:11 PM, Igor Vaynberg
put another log4j.properties into your src/test/resources or
src/test/java. since the test dirs are before the main dirs when tests
run they will override log4j.properties in your src/main/resources or
src/main/java
-igor
On Fri, Mar 19, 2010 at 12:59 PM, Alec Swan wrote:
> Hi,
>
>
Hi,
It looks like the link you provided is temporarily down, but I am assuming
that your idea was to replace log4j.properties file with the one specific to
each maven profile.
This is definitely an option, but I am have limited control over the build
file because it is generated by my NetBeans
Fri, Mar 19, 2010 at 3:01 PM, Alec Swan wrote:
> We have WEB-INF/classes/log4j.properties file which instructs log4j to log
> to ${catalina.home}/logs/${logFileName}.log file. This works great when I
> deploy the web app in Tomcat.
>
> However, I would like the logs to be written
We have WEB-INF/classes/log4j.properties file which instructs log4j to log
to ${catalina.home}/logs/${logFileName}.log file. This works great when I
deploy the web app in Tomcat.
However, I would like the logs to be written to a different file when I run
my tests that use WicketTester and start
10 matches
Mail list logo