RE: Newbie question on setting different levels

2003-11-12 Thread Scott Smith
11, 2003 8:05 PM To: Log4J Users List Subject: RE: Newbie question on setting different levels On Wed, 2003-11-12 at 13:57, [EMAIL PROTECTED] wrote: Scott, Is it possible that the Jakarta libraries are reconfiguring log4j on you after your configuration has run? I ran

RE: Newbie question on setting different levels

2003-11-12 Thread Paul Smith
On Thu, 2003-11-13 at 03:45, Scott Smith wrote: OK, you are forcing me to admit my sins. This morning I woke up and guessed the problem (I knew I should have waited another day before asking for help). I think that there must be a universal Law somewhere about this, I've also found numerous

RE: Newbie question on setting different levels

2003-11-11 Thread Mark.Priest
whole configuration. Can you try running configure after calling some library methods? Good luck, Mark -Original Message- From: Paul Smith [mailto:[EMAIL PROTECTED] Sent: Tue 11/11/2003 9:23 PM To: Log4J Users List Cc: Subject: Re: Newbie question on setting different levels

RE: Newbie question on setting different levels

2003-11-11 Thread Paul Smith
On Wed, 2003-11-12 at 13:57, [EMAIL PROTECTED] wrote: Scott, Is it possible that the Jakarta libraries are reconfiguring log4j on you after your configuration has run? I ran into this with the open source Joram JMS implemnetation. As soon as I started using the Joram classes, some

RE: Newbie Question

2003-07-14 Thread Hainer, Neil
Steve, Your last suggested configurations settings were right on the money. Thanks so much for your help. Regards, Neil -Original Message- From: Steve Ebersole [mailto:[EMAIL PROTECTED] Sent: Sunday, July 13, 2003 9:17 AM To: Log4J Users List Subject: Re: Newbie Question Also, use

Re: Newbie Question

2003-07-13 Thread Steve Ebersole
: RE: Newbie Question Steve, I will give a try on Monday and let you know the results. Thanks, Neil -Original Message- From: Ebersole, Steven [mailto:[EMAIL PROTECTED] Sent: Fri 7/11/2003 2:11 PM To: 'Log4J Users List' Cc: Subject: RE: Newbie Question Sorry, bad copy

RE: Newbie Question

2003-07-11 Thread Ebersole, Steven
log4j.rootLogger=INFO,FILE log4j.appender.FILE=org.apache.log4j.FileAppender log4j.appender.FILE.File=./log.txt log4j.appender.FILE.layout=org.apache.log4j.PatternLayout log4j.appender.FILE.layout.conversionPattern=%p -%m%n Will create a file named log.txt in the current working directory (the

RE: Newbie Question

2003-07-11 Thread Hainer, Neil
Steven, Thanks. This works, but I still get output to the screen (standard out?) as well. Is there a way to prevent this? Neil -Original Message- From: Ebersole, Steven [mailto:[EMAIL PROTECTED] Sent: Friday, July 11, 2003 12:07 PM To: 'Log4J Users List' Subject: RE: Newbie Question

RE: Newbie Question

2003-07-11 Thread Ebersole, Steven
You should not be. In what type of environment is this running? In Tomcat? In an app-server? -Original Message- From: Hainer, Neil [mailto:[EMAIL PROTECTED] Sent: Friday, July 11, 2003 11:11 AM To: Log4J Users List Subject: RE: Newbie Question Steven, Thanks. This works, but I

RE: Newbie Question

2003-07-11 Thread Hainer, Neil
Standalone. Just part of a java app. -Original Message- From: Ebersole, Steven [mailto:[EMAIL PROTECTED] Sent: Friday, July 11, 2003 12:20 PM To: 'Log4J Users List' Subject: RE: Newbie Question You should not be. In what type of environment is this running? In Tomcat? In an app

RE: Newbie Question

2003-07-11 Thread Ebersole, Steven
How are you doing the initialization of log4j? Are you possibly using jakarta-commons-logging or using something that uses it? -Original Message- From: Hainer, Neil [mailto:[EMAIL PROTECTED] Sent: Friday, July 11, 2003 11:21 AM To: Log4J Users List Subject: RE: Newbie Question

RE: Newbie Question

2003-07-11 Thread Hainer, Neil
+ instances + Object Instances Created + two_spaces + QuickTimeFormat.msToSecs( pTime ) + seconds. ); -Original Message- From: Ebersole, Steven [mailto:[EMAIL PROTECTED] Sent: Friday, July 11, 2003 12:25 PM To: 'Log4J Users List' Subject: RE: Newbie Question How are you

RE: Newbie Question

2003-07-11 Thread Ebersole, Steven
... -Original Message- From: Hainer, Neil [mailto:[EMAIL PROTECTED] Sent: Friday, July 11, 2003 11:30 AM To: Log4J Users List Subject: RE: Newbie Question I initialize it with the following line of code: private static Logger logger = Logger.getLogger( DamlBuilder.class ); The only

RE: Newbie Question

2003-07-11 Thread Ebersole, Steven
=org.apache.log4j.PatternLayout log4j.appender.FILE.layout.conversionPattern=%p -%m%n -Original Message- From: Ebersole, Steven Sent: Friday, July 11, 2003 1:08 PM To: 'Log4J Users List' Subject: RE: Newbie Question You say just part of a java app... Some other part of that app must be doing

RE: Newbie question

2002-06-07 Thread Sara Prigge
I'm attaching a txt file that contains the property file info you need for the JDBCAppender (Kevin Steppe's) in log4j v.1.1.3. When I was setting up my JDBCAppender for the first time Kevin was very helpful (he's active in this forum). Hope this gets you started. -Original Message-

RE: Newbie question

2002-06-07 Thread Frissaer, Jeroen
Hi Doug, Here is an example of how to use the JDBCAppender without ODBC: log4j.appender.db=org.apache.log4j.jdbc.JDBCAppender log4j.appender.db.Driver=com.imaginary.sql.msql.MsqlDriver log4j.appender.db.URL=jdbc:msql://localhost:1114/MyLogDB log4j.appender.db.Sql=insert into log values ('%m')

Re: Newbie question about PatternLayout and Appenders.

2001-03-07 Thread Ceki Gülcü
Darshan, At 08:36 07.03.2001 -0800, Darshan Mangani wrote: Hi folks, I am a new user of Log4J ver 1.0.4. I have come on board to an existing implementation/project that uses Log4J for logging. I have a requirement to log to a database. I have taken a look at the 2 JDBC appenders that have