Re: log4j.xml location issue

2007-09-04 Thread Jacob Kjome
At 12:04 PM 9/4/2007, you wrote: > >Hello, > >I have the files commons-logging.properties, log4j.dtd and log4j.xml >in the root of my eclipse proyect. If I create a jar file with them >inside, all the log works properly. But I don´t want to have that >files inside a jar. > >Can anyone tell me how

Re: How do I keep loggers from loging to stdout

2007-09-04 Thread Lowell Kirsh
You could try adding log4j.additivity.java.sql=false. Please let us know if that works. Lowell On 9/4/07, Warren <[EMAIL PROTECTED]> wrote: > I am trying to keep my SQL logger from logging to the stdout in Tomcat. > I still want Tomcat logging to go to stdout. How do I do this? Here is > my prop

How do I keep loggers from loging to stdout

2007-09-04 Thread Warren
I am trying to keep my SQL logger from logging to the stdout in Tomcat. I still want Tomcat logging to go to stdout. How do I do this? Here is my property file: # Console output... log4j.appender.stdout=org.apache.log4j.ConsoleAppender log4j.appender.stdout.layout=org.apache.log4j.PatternLayout

log4j.xml location issue

2007-09-04 Thread Francisco Exposito Aguilera
Hello, I have the files commons-logging.properties, log4j.dtd and log4j.xml in the root of my eclipse proyect. If I create a jar file with them inside, all the log works properly. But I don´t want to have that files inside a jar. Can anyone tell me how can I modify the place of them? If I p

Re: 1.3 {} notation available in 1.2.x?

2007-09-04 Thread Jacob Kjome
On Tue, 4 Sep 2007 10:03:52 +0200 dirk ooms <[EMAIL PROTECTED]> wrote: Thanks guys for all the useful information. I opted for introducing the slf4j layer since: 1. it had the least impact on my existing 1.3 code: adapt import statements and a replacement of Logger.getLogger() by LoggerFactory

Re: log4j alpha

2007-09-04 Thread Curt Arnold
On Sep 4, 2007, at 9:18 AM, Sergiu Bivol wrote: We're using the JNDI Data source with the DbAppender in 1.3 alpha, but since this branch is dead now, is there a way to use them in 1.2.*? Thanks Sergiu That class is included in the receivers companion that has not been formally release y

RE: log4j alpha

2007-09-04 Thread Sergiu Bivol
We're using the JNDI Data source with the DbAppender in 1.3 alpha, but since this branch is dead now, is there a way to use them in 1.2.*? Thanks Sergiu -Original Message- From: Curt Arnold [mailto:[EMAIL PROTECTED] Sent: September 3, 2007 2:16 PM To: Log4J Users List Subject: Re: log4j

RollingFileAppender's and renameTo issue: status and suggestions

2007-09-04 Thread Arnauld Van Muysewinkel
(Hello. It's the first time I post here. I hope it's the correct place to put my request. If it's not the case, please accept my apologies and tell me where it should go (e.g. log4j-dev or bugzilla).) It's been a long time now that I was trying to solve a problem I had with RollingFileAppender's

Re: 1.3 {} notation available in 1.2.x?

2007-09-04 Thread dirk ooms
Thanks guys for all the useful information. I opted for introducing the slf4j layer since: 1. it had the least impact on my existing 1.3 code: adapt import statements and a replacement of Logger.getLogger() by LoggerFactory.getLogger() 2. it adds extra flexibility to switch to another logging fra

Re: Log4J Question:loading properties file in A.S.

2007-09-04 Thread sandy1976rm
Hi ! Putting the properties in the classpath was the first thing I provide to.. Thank you very much for the information. Sandy Jacob Kjome wrote: > > > Did you literally put "/lib/log4j.properties" in the classpath or did > you just put the lib directory that contains log4j.properties in t