Re: Problem with logging separation between webapps and container

2003-11-05 Thread Jacob Kjome
I'd listen to Yoav here and keep your libs with each app. However, I'm wondering why this isn't working for you. What does your repository selector use to distinguish different logger repositories? Are you sure it is actually being used by your webapp? Note that commons-logging does some cr

Re: How do I do to change the properties file for log4j into another directory?

2003-11-05 Thread Jacob Kjome
At 11:29 AM 11/5/2003 +1100, you wrote: I am using the Log Tag Library 1.0 from Jakarta Project. In the Installation document, it suggest that in order to initialize Log4j automatically, the log4j.properties file will have to be placed in /WEB-INF/classes. How could I put the log4j.properties file

Re: not priting line numbers

2003-11-05 Thread Jacob Kjome
So, you are getting no logging from your app or you are getting some, but not in the format you set? And with the hibernate logging, is it logging to your specified format or some other similar format? What I'm getting at is whether Hibernate might be including a log4j.properties or log4j.xml

Re: logging to 2 destinations

2003-11-05 Thread Jacob Kjome
Use two separate file appenders, each pointing to its own file (eg application.log and junit.log). Then, I recommend that you define stuff in the logger that you'd want for your most common logging activities; probably the stuff going to application.log. After that, define a logger for

logging to 2 destinations

2003-11-05 Thread Hanasaki JiJi
1. how can the same log output be sent to two syslogs and a file? 2. I am running JUnit and my Application. They both use log4j Just running the application, all is logged in the expected file. When running tests, via JUnit, the JUnit test output ends up in the App

Re: How do I do to change the properties file for log4j intoanother directory?

2003-11-05 Thread Rishikesh Tembe
use PropertyConfigurator.configure() -Rishi On Wed, 05 Nov 2003 11:29:14 +1100, "Tuan Jean Tee" <[EMAIL PROTECTED]> said: > I am using the Log Tag Library 1.0 from Jakarta Project. > > In the Installation document, it suggest that in order to initialize > Log4j automatically, the log4j.propert

not priting line numbers

2003-11-05 Thread Hanasaki JiJi
Using log4j and the formatter is set to print the line# and filename. This information is not being output for my code but is output for Hibernate, which is used in the proejct. What could cause this? How can it be fixed? j2sdk1.4.2 on winnt4 debugging info is enabled optimization is off than

RE: Can log4j work with J++ 6.0 from Microsoft?

2003-11-05 Thread Charles Hudak
Doubtful since J++ is stuck at something like JDK 1.1.7 which didn't include the Collections libraries, among other things, that JDK 1.2 added. -Original Message- From: Chang, Betty [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 05, 2003 15:39 To: [EMAIL PROTECTED] Subject: Can log4j

Can log4j work with J++ 6.0 from Microsoft?

2003-11-05 Thread Chang, Betty
Hi - I have a need to write something in Microsoft J++ 6.0 Is there any chance that log4j will work with it? Thanks Betty

RE: Problem with logging separation between webapps and container

2003-11-05 Thread sireesha . vamaraju
I moved commons-logging.properties and simpleLog.properties and if you have a log4j.properites to /WEB-INF/Classes. May be moving dtds /WEB-INF/dtds may help. Not sure never worked with Resin servlet container. And in the web.xml define: log4j-priority

RE: Problem with logging separation between webapps and container

2003-11-05 Thread Shapira, Yoav
Howdy, >I'm using Resin Servlet Container. I have developed librairies(jar files) >that are shared by many web applications, I have put my libraries jar in >the >global classpath of the servlet container. You problem pretty much starts and ends here. Disk space is cheap: have each app's jars i

Problem with logging separation between webapps and container

2003-11-05 Thread Stephanie . St-Cyr
I'm using Resin Servlet Container. I have developed librairies(jar files) that are shared by many web applications, I have put my libraries jar in the global classpath of the servlet container. In those librairies, I'm using log4j as logging mechanism with an xml configuration file. Everything w