Re: log4j set up and usage?

2004-03-04 Thread Henri Yandell
From: "Henri Yandell" <[EMAIL PROTECTED]> > To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > Sent: Thursday, March 04, 2004 8:34 AM > Subject: Re: log4j set up and usage? > > > > > > http://jakarta.apache.org/commons/logging/guide.html

Re: log4j set up and usage?

2004-03-04 Thread Martin Gainty
- From: "Henri Yandell" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, March 04, 2004 8:34 AM Subject: Re: log4j set up and usage? > > http://jakarta.apache.org/commons/logging/guide.html is the help for > loggi

Re: log4j set up and usage?

2004-03-04 Thread Henri Yandell
http://jakarta.apache.org/commons/logging/guide.html is the help for logging+log4j. Mainly it should just be having log4j in some way in the classpath, though -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4JLogger looks useable too. Hen On Thu, 4 Mar 2004, Dean A. Hoover wr

Re: Log4J configuration -- Regarding

2004-02-22 Thread Richard Yee
Send your log4j config file so we can take a look at it. -R At 07:08 AM 2/23/2004, you wrote: Hi All, I am trying to configure Log4j to your application.I am trying to configure with Log4j1.2.8 using xml file. I am getting the below error: [2/23/04 20:34:12:719 IST] 105af116 SystemErr R log

RE: log4j integration

2004-01-29 Thread Norm Deane
return getServletConfig().getInitParameter( PROPERTY_FILE_PROPERTY_NAME ); } } -- Norm Deane MIS Consultant Vanderbilt University (615) 322-7855 [EMAIL PROTECTED] > -Original Message- > From: Geeta Ramani [mailto:[EMAIL PROTECTED] > Sent: Wednesday, January 28, 2004 6:

Re: log4j integration

2004-01-29 Thread shankarr
Hi Geeta. Thanks for the response. I have been able to get the thing done in an alternate manner which I have posted. Do let me know your comments on the same if time permits. The method you have suggested is new to me. I will definitely give it a shot. Thanks for the help to all. Richie At 08:0

Re: log4j integration

2004-01-29 Thread Geeta Ramani
Hi Shankar: Two other people asked this same question so if you don't mind, I'll post my (simple) solution to the list. Btw, for those who don't remember, this is a way to enable changes in log4j.properties to be seen by the application without a server reboot. Here goes: 1. Create a simple act

RE: [OT] RE: log4j integration

2004-01-29 Thread shankarr
www.landsend.com > Lands' End, Inc. (608) 935-4526 > > "Wisdom is not the prerogative of the academics." - Peter Chappell > > >-Original Message- > >From: Hookom, Jacob [mailto:[EMAIL PROTECTED] > >S

{ICICICARE#005-212-151}[OT] RE: log4j integration

2004-01-29 Thread NRI Cell
Dear Sir / Madam,Thank you for writing to [EMAIL PROTECTED] We confirm receipt of your mail and assure you of a response shortly.To help us serve you better, we would request you to kindly mention your account number or any reference number you may have in your future correspondence. Kindly vis

RE: [OT] RE: log4j integration

2004-01-29 Thread shankarr
he academics." - Peter Chappell > > >-Original Message- > >From: Hookom, Jacob [mailto:[EMAIL PROTECTED] > >Sent: Wednesday, January 28, 2004 11:08 AM > >To: Struts Users Mailing List > >Subject: [OT] RE: log4j integration > > > > > >I'

RE: [OT] RE: log4j integration

2004-01-28 Thread Chappell, Simon P
id have to put log4j in the server classpath to overcome the issue. This has not been a problem under WAS 4.x Simon >-Original Message- >From: Hookom, Jacob [mailto:[EMAIL PROTECTED] >Sent: Wednesday, January 28, 2004 11:33 AM >To: Struts Users Mailing List >Subject: RE: [

RE: [OT] RE: log4j integration

2004-01-28 Thread Hookom, Jacob
h Weblogic that we're going to have to work around :-( Thanks, Jacob -Original Message- From: Chappell, Simon P [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 28, 2004 11:31 AM To: Struts Users Mailing List Subject: RE: [OT] RE: log4j integration Jacob, We use log4j 1.2.8 and we

RE: [OT] RE: log4j integration

2004-01-28 Thread Kris Schneider
is not the prerogative of the academics." - Peter Chappell > > >-Original Message- > >From: Hookom, Jacob [mailto:[EMAIL PROTECTED] > >Sent: Wednesday, January 28, 2004 11:08 AM > >To: Struts Users Mailing List > >Subject: [OT] RE: log4j integratio

RE: [OT] RE: log4j integration

2004-01-28 Thread Chappell, Simon P
've read >recommends putting log4j at the container level along with a single >properties file, but that isn't as flexible as what we want it to be. > >-Thanks > >-Original Message- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] > >Sent: Wednesd

[OT] RE: log4j integration

2004-01-28 Thread Hookom, Jacob
properties file, but that isn't as flexible as what we want it to be. -Thanks -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 28, 2004 10:20 AM To: [EMAIL PROTECTED] Subject: RE: log4j integration Hi, Also there is s

RE: log4j integration

2004-01-28 Thread shirishchandra.sakhare
Message- From: Geeta Ramani [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 28, 2004 4:02 PM To: Struts Users Mailing List Subject: Re: log4j integration *Yes*!! The LogManager is the ticket - I didn't know about this class, so tried it out. Works like a charm.. :) Thanks, Shirish (I

Re: log4j integration

2004-01-28 Thread Geeta Ramani
*Yes*!! The LogManager is the ticket - I didn't know about this class, so tried it out. Works like a charm.. :) Thanks, Shirish (I think? I inadvertently erased the response to this question so am not sure of its author..) Geeta

RE: log4j integration

2004-01-28 Thread shirishchandra.sakhare
: shankarr [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 28, 2004 1:20 PM To: Struts Users Mailing List Subject: Re: log4j integration Hi! Yes, I figured that out. But, that leaves the question open as to how do you make struts as a whole understand that changes have been made to the

Re: log4j integration

2004-01-28 Thread shankarr
Hi! Yes, I figured that out. But, that leaves the question open as to how do you make struts as a whole understand that changes have been made to the log4j.properties file. In fact, the question boils down to this: Where do I get the handle to the log4j.properties file(let us say, using the File

Re: log4j integration

2004-01-28 Thread Geeta Ramani
Please forgive this note if it seems too obvious and I have misunderstood your question/comments.. If you think of both struts and log4j as just a bunch of Java packages/classes, then you will see that "integrating struts with log4j" is really nothing unusual. The log4j jar (or classes in the jar

RE: log4j integration

2004-01-27 Thread shankarr
Hi! In fact, I got two responses for the question as I had sent the same question twice. My mailbox was acting funny yesterday, so I had to send it twice. Well, I do have the log4j.properties file under /classes I had thought of using the PropertyConfigurator too. But, when you integrate log4j w

RE: log4j integration

2004-01-27 Thread Norm Deane
Do you mean changes made after the initial configuration of log4j? You can use PropertyConfigurator.configureAndWatch( cfgFile, delay ) This will load your log4j configuration file and create a thread that looks for changes to the config file reloading when necessary. --Norm -- Norm

Re: log4j integration

2004-01-27 Thread Geeta Ramani
Ritchie: Just make sure the log4j.properties is in your class path.. (like maybe right in your classes directory). that should do it.. Regards, Geeta shankarr wrote: > Hi! > I have integrated log4j with struts. > I need to know how to ensure that the changes done to log4j.properties file > is

[OT] Re: log4j integration

2004-01-27 Thread Guido García Bernardo
This is OT. The word "struts" in a message is not the only thing it needs to be struts related... Try PropertyConfigurator.configureAndWatch, I think that is what you are searching for... You cand find a simple example at http://www.jguru.com/forums/view.jsp?EID=1130416 Un saludo, chicos. Guid

RE: Log4J

2003-12-10 Thread Sathish Babu K R
the > req category class is present in jar file. and no > other log4.jar is present > in your classpath. > > > > > > >-Original Message- > >From: Sathish Babu K R [mailto:[EMAIL PROTECTED] > >Sent: Wednesday, December 10, 2003 12:47 PM >

RE: Log4J

2003-12-10 Thread Kalra, Ashwani
h Babu K R [mailto:[EMAIL PROTECTED] >Sent: Wednesday, December 10, 2003 12:47 PM >To: Struts Users Mailing List >Subject: RE: Log4J > > >hi kalra > >com.pronto.web.accesssummaryreportform is in >web-inf/classes > >will there be any probs due to log4j.pr

RE: Log4J

2003-12-10 Thread Sathish Babu K R
gory class > (org/apache/log4j/Category) is indeed > present in you jar. > > one more check > Where are your > com.pronto.web.AccessSummaryReportForm class lying ? > > > > > > > > > > > >-Original Message- > >From: Sathis

RE: Log4J

2003-12-10 Thread Kalra, Ashwani
/log4j/Category) is indeed present in you jar. one more check Where are your com.pronto.web.AccessSummaryReportForm class lying ? >-Original Message- >From: Sathish Babu K R [mailto:[EMAIL PROTECTED] >Sent: Wednesday, December 10, 2003 12:38 PM >To: Struts Users M

RE: Log4J

2003-12-10 Thread Sathish Babu K R
hi alan i don't use category class at all then how come its showing errori don't get it... whatz that jar that makes trick?tell me sathish __ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ -

RE: Log4J

2003-12-10 Thread alan
r-uptodate jar then it might do the trick... alan -Original Message- From: Sathish Babu K R [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 09, 2003 10:53 PM To: Struts Users Mailing List Subject: RE: Log4J hi kalra yep i have that log4j in lib folde

Re: Log4J

2003-12-10 Thread Sathish Babu K R
hi kwok how to initialize the class what am i doing is i m having loggers.java as package com.pronto.util; import java.io.*; import java.util.*; import org.apache.log4j.*; /** * Title: * Description: Uses new Log4j class to log all the message to a file * Copyright:Copyright (c) 2003

Re: Log4J

2003-12-10 Thread Kwok Peng Tuck
It says no class definition found rather than no class found, are you initializing the class correctly ? Sathish Babu K R wrote: hi kalra yep i have that log4j in lib folder sathish __ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photo

RE: Log4J

2003-12-09 Thread Sathish Babu K R
hi kalra yep i have that log4j in lib folder sathish __ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For a

RE: Log4J

2003-12-09 Thread Kalra, Ashwani
Do you have log4j.jar in web-inf\lib dir ? >-Original Message- >From: Sathish Babu K R [mailto:[EMAIL PROTECTED] >Sent: Wednesday, December 10, 2003 12:16 PM >To: Struts Users Mailing List >Subject: Log4J > > >hi all > >i m getting this error... > >java.lang.NoClassDefFoundError: >or

RE: Log4j with Struts

2003-12-05 Thread Daniel Lipofsky
> > String str = new String(LogonAction.class.getName()); > This is completely off-topic, but using new String(String) is almost always wasteful. Strings are immutable, so there is no need to copy them. - Dan - T

Re: [OT] Log4J raw vs. commons-logging/Log4J (was Re: Log4j with Struts)

2003-12-05 Thread Joe Germuska
Are you talking about the code-level interface (i.e. Log versus Logger) or in terms of the configuration? Because in our applications, we've taken the commons-logging approach, though we initialize the commons-logging package with a complex Log4J configuration, so that we have in essence the be

[OT] Log4J raw vs. commons-logging/Log4J (was Re: Log4j with Struts)

2003-12-05 Thread Kirk Wylie
Joe Germuska wrote: At the risk of quibbling, I would dispute this as a general rule; commons-logging is great for library packages which may be used in a variety of contexts, but unless you're writing a Struts application for general distribution and re-use, there's less justification for using

Re: Log4j with Struts

2003-12-05 Thread Joe Germuska
On Dec 5, 2003, at 9:03 AM, James Mitchell wrote: Not sure if this was mentioned, but you should configure your app to use commons-logging and then specify in its configuration to use Log4j. That way you can swap out logging implementations by simple configuration and library addtions/removal

Re: Log4j with Struts

2003-12-05 Thread James Mitchell
> > > > what could be the problem? please excuse my novice level... > > > > thanks again.. > > > > > > - Original Message - > > From: "Nick Faiz" <[EMAIL PROTECTED]> > > To: "'Struts Users Mailing List'" &

Re: Log4j with Struts

2003-12-05 Thread Pedro Salgado
PROTECTED]> > To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> > Sent: Friday, December 05, 2003 12:22 PM > Subject: RE: Log4j with Struts > > >> Well, what class can't it find, the Logger or the LogonAction.class ? >> >>

RE: Log4j with Struts

2003-12-05 Thread Nick Faiz
EMAIL PROTECTED] Sent: Friday, 5 December 2003 5:57 PM To: Struts Users Mailing List Subject: Re: Log4j with Struts hi nick, thanks for responding...its the logger class thats missing ithink... this is the exception i get when i try to view the page: java.lang.NoClassDefFoundError: org/a

Re: Log4j with Struts

2003-12-05 Thread Rahul Mohan
could be the problem? please excuse my novice level... thanks again.. - Original Message - From: "Nick Faiz" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Friday, December 05, 2003 12:22 PM Subject: RE: Log4j

RE: Log4j with Struts

2003-12-04 Thread Nick Faiz
Well, what class can't it find, the Logger or the LogonAction.class ? I use it with Struts, without a hassle, on WebLogic 7.2. Nick -Original Message- From: Rahul Mohan [mailto:[EMAIL PROTECTED] Sent: Friday, 5 December 2003 5:46 PM To: struts Subject: Log4j with Struts Hi, has an

RE: log4j setup

2003-09-24 Thread Chen, Gin
Doh.. Leave it to James to ruin a joke. -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 24, 2003 1:19 PM To: Struts Users Mailing List Subject: Re: log4j setup Step 2. http://www.catb.org/~esr/faqs/smart-questions.html#before -- James

RE: log4j setup

2003-09-24 Thread Chen, Gin
Okay.. Done.. Now what's step 2? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 24, 2003 12:03 PM To: Struts Users Mailing List Subject: Re: log4j setup Step 1. RTFM "Viral_Thakkar" <[EMAIL PROTECTED]> on 0

Re: log4j setup

2003-09-24 Thread James Mitchell
IL PROTECTED]> Sent: Wednesday, September 24, 2003 12:03 PM Subject: Re: log4j setup > > Step 1. RTFM > > > > > "Viral_Thakkar" <[EMAIL PROTECTED]> on 09/24/2003 09:23:22 AM > > Please respond to "Struts Users Mailing List" >

Re: log4j setup

2003-09-24 Thread jbisotti
Step 1. RTFM "Viral_Thakkar" <[EMAIL PROTECTED]> on 09/24/2003 09:23:22 AM Please respond to "Struts Users Mailing List" <[EMAIL PROTECTED]> To:"Struts Users Mailing List" <[EMAIL PROTECTED]> cc: Subject:log4j setup Please let me know what are the steps one need to do to co

RE: log4j setup

2003-09-24 Thread Mathew, Manoj
end, String msg) {} If anybody has any better idea please let us know. thanks manoj -Original Message- From: Davide Bruzzone [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 24, 2003 8:41 AM To: Struts Users Mailing List Subject: RE: log4j setup Here are the steps: - Make sure t

Re: log4j setup

2003-09-24 Thread David Thielen
L PROTECTED]> Sent: Wednesday, September 24, 2003 7:40 AM Subject: RE: log4j setup Here are the steps: - Make sure that the appropriate Log4J JAR file is in your /WEB-INF/lib directory - Put your log4j.properties file in /WEB-INF/classes - Wherever you want to log, add the following code: import org.ap

RE: log4j setup

2003-09-24 Thread Davide Bruzzone
Here are the steps: - Make sure that the appropriate Log4J JAR file is in your /WEB-INF/lib directory - Put your log4j.properties file in /WEB-INF/classes - Wherever you want to log, add the following code: import org.apache.log4j.Logger; ... // This is a private static attribute within the cla

Re: Log4J and Struts

2003-09-23 Thread Mahesh Joshi
between commons-logging and Log4J. Thanks! Mahesh - Original Message - From: "Abhijeet Mahalkar" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Monday, September 22, 2003 2:39 AM Subject: Re: Log4J and Struts hi Mahesh, No u

Re: Log4J and Struts

2003-09-22 Thread Abhijeet Mahalkar
hi Mahesh, No u have to keep ur log4j-1.2.8.jar into websphere\appserver\lib dir not web-inf. here it will not give any error. I was working on the same kind of error an hr before but copy paste into websphere\appserver\lib solved my problem... regards abhijeet - Original Message - Fr

Re: log4j configuration and usage

2003-08-18 Thread Vikram Goyal
Hi Viral, This is not the log4 list. Try the log4j list or read the several articles on how to use it. http://jakarta.apache.org/log4j/docs/documentation.html PS: Which PU are you in at Infy? Regards, Vikram - Original Message - From: "Viral_Thakkar" <[EMAIL PROTECTED]> To: "Struts Us

RE : Log4j Warnings

2003-08-14 Thread Laurent MARQUEZ
Try this: ### log4j.properties has this log4j.rootLogger=DEBUG, stdout, file # stdout appender log4j.appender.stdout=org.apache.log4j.ConsoleAppender log4j.appender.stdout.layout=org.apache.log4j.PatternLayout log4j.appender.st

RE: RE : RE : Log4j Warnings

2003-08-14 Thread Lee, Yau-Pang
] Sent: Thursday, August 14, 2003 4:53 AM To: 'Struts Users Mailing List' Subject: RE: RE : RE : Log4j Warnings It's not working. Any sample or doc that could be read? -Original Message- From: Laurent MARQUEZ [mailto:[EMAIL PROTECTED] Sent: Thursday, August 14, 2003 2:45 PM To

RE : RE : Log4j Warnings

2003-08-14 Thread Laurent MARQUEZ
THIS: ### log4j.properties has this log4j.rootLogger=DEBUG, stdout, file # stdout appender (a carrier return here) log4j.appender.stdout=org.apache.log4j.ConsoleAppender log4j.appender.stdout.layout=org.apache.log4j.PatternLay

RE: RE : RE : Log4j Warnings

2003-08-14 Thread Mohd Amin Mohd Din
It's not working. Any sample or doc that could be read? -Original Message- From: Laurent MARQUEZ [mailto:[EMAIL PROTECTED] Sent: Thursday, August 14, 2003 2:45 PM To: 'Struts Users Mailing List' Subject: RE : RE : Log4j W

Re: log4j in struts application

2003-06-05 Thread Gemes Tibor
[EMAIL PROTECTED] írta: I'm using JBoss with integrated Tomcat 4.1 (on linux). In the JBoss log I see: Jboss has its own log4j config file. It is used container-wise, so you should configure that. It is checked every minute, and reloaded the logging if changed. I cannot remember the name, ma

Re: [log4j]

2003-04-01 Thread Rick Reumann
On Tue, 01 Apr 2003 17:37:27 +0100 "Pat Quinn" <[EMAIL PROTECTED]> wrote: > Has anyone tried using log4j-1.2.7.jar with Struts > I use it. -- Rick Reumann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

RE: [log4j]

2003-04-01 Thread Jimmy Emmanual
yup. no problems... -Original Message- From: Pat Quinn [mailto:[EMAIL PROTECTED] Sent: April 01, 2003 11:37 AM To: [EMAIL PROTECTED] Subject: [log4j] Has anyone tried using log4j-1.2.7.jar with Struts _ Help STOP SPAM w

RE: log4j problem

2003-01-30 Thread De Cesco, Jonathan
-- De : Matthew Meyer [mailto:[EMAIL PROTECTED]] Envoyé : jeudi 30 janvier 2003 14:45 À : Struts Users Mailing List Objet : Re: log4j problem I am having a simmilar problem. I'm useing Struts 1.1b2 within WTE 3.5. The digester and requestProcessor refuse to quit logging not matter what I s

Re: log4j problem

2003-01-30 Thread Matthew Meyer
I am having a simmilar problem. I'm useing Struts 1.1b2 within WTE 3.5. The digester and requestProcessor refuse to quit logging not matter what I set the log levels at. I'm guessing I'm just not finding the correct configuration file, but it's really getting annoying. Matt, On Thu, 30 Jan 2

RE: log4j problem

2003-01-30 Thread De Cesco, Jonathan
It worked, thank you, my understanding of Log4J was rather limited!! -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Envoyé : jeudi 30 janvier 2003 14:31 À : [EMAIL PROTECTED] Objet : RE: log4j problem .U can specify log level per logger as well.SO if u wa

RE: log4j problem

2003-01-30 Thread De Cesco, Jonathan
-Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Envoyé : jeudi 30 janvier 2003 14:31 À : [EMAIL PROTECTED] Objet : RE: log4j problem .U can specify log level per logger as well.SO if u want to exclude logging for some packages,U specify a higher log leve

RE: log4j problem

2003-01-30 Thread shirishchandra . sakhare
hirarchies, it will still not change -Original Message- From: gourav.pani [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 30, 2003 2:24 PM To: struts-user Subject: RE: log4j problem i was under the impression that you do exclusion by inclusion. in other words, if you specify the

RE: log4j problem

2003-01-30 Thread Pani, Gourav
Users Mailing List' Subject: RE: log4j problem Yes I know the originating class that produces logs, it's RequestProcessor. But I didn't know that log4j could exclude class from the logs. Is it configurable in the log4j conf file ? I will look into it, thanks. -Message d'

RE: log4j problem

2003-01-30 Thread De Cesco, Jonathan
EMAIL PROTECTED]] Envoyé : jeudi 30 janvier 2003 14:18 À : [EMAIL PROTECTED] Objet : RE: log4j problem Can you see the originating class for all those struts loggings messages in the logged messages? I mean in log4j ,u can disable the logging per class or package level..And if struts is using log4j,

RE: log4j problem

2003-01-30 Thread shirishchandra . sakhare
Subject: RE: log4j problem ok but the real problem is that struts logs an INFO each time a request is processed. My webapp should handle hundreds of simultaneous clients therefore my personal webapps logs are not visible enough. But thanks anyway. -Message d'origine- De : Pani, G

RE: log4j problem

2003-01-30 Thread De Cesco, Jonathan
ECTED]] Envoyé : jeudi 30 janvier 2003 14:10 À : 'Struts Users Mailing List' Objet : RE: log4j problem You may want to increase your default console setting from DEBUG to WARN. That would eliminate a lot of log messages. -Original Message- From: De Cesco, Jonathan [mailto:[EMAIL P

RE: log4j problem

2003-01-30 Thread Pani, Gourav
You may want to increase your default console setting from DEBUG to WARN. That would eliminate a lot of log messages. -Original Message- From: De Cesco, Jonathan [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 30, 2003 5:09 AM To: '[EMAIL PROTECTED]' Subject: log4j problem Hi all, I w

Re: log4j logging config for a struts app - seeing struts msgs

2002-11-11 Thread Robert
Try adding something along the lines of this to your log4j.properties file: log4j.logger.org.apache=WARN (or ERROR, etc.) Which means that the packages org.apache and below will log at level WARN, ERROR, etc. You can also specify complete class names like: log4j.logger.org.apache.struts.action

Re: log4j props not getting pick up

2002-09-18 Thread Kurt Wiersma
Following the suggestion that is was a classpath issue I looked and discovered that log4j.jar wasn't inside of $CATALINA_HOME/common/lib it was just in WEB-INF/lib of my webapp. So I added the log4j.jar to the $CATALINA_HOME/common/lib directory and then things worked prefectly. Thanks, --Kurt

RE: Log4j Daily File Appender

2002-07-16 Thread Jacob Hookom
Don't I feel stupid... I should read the API :-P Jacob Hookom CS Student University of Wisconsin, Eau Claire === http://www.swanked.net you're not hip enough yet -Original Message- From: Jacob Hookom [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 16, 2002

RE: log4j and struts

2002-06-28 Thread Joe Latty
Works a charm, thanks. Joe -Original Message- From: fabrice dewasmes [mailto:[EMAIL PROTECTED]] Sent: Friday, 28 June 2002 5:48 PM To: Struts Users Mailing List Subject: RE: log4j and struts HI ! I've encountered exactly the same problem : a solution i've used is to conf

RE: log4j and struts

2002-06-28 Thread fabrice dewasmes
HI ! I've encountered exactly the same problem : a solution i've used is to configure your root logger to be high level (say for example ERROR) and configure your packages to be low level for your debug needs (say for example com.myCompany to be DEBUG) this could give this kind of property file

Re: log4j question

2002-05-18 Thread Craig R. McClanahan
On Sat, 18 May 2002, Liang Chen wrote: > Date: Sat, 18 May 2002 07:33:06 -0700 > From: Liang Chen <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: Struts Users Mailing List <[EMAIL PROTECTED]> > Subject: log4j question > > When using log4j, I found that I can

Re: Log4j Error

2002-03-20 Thread Pete Serafin
Thanks guys. That did solve my problem and also explains why the example I copied from the documentation had rootLogger in it. Had me a little lost, but its working fine now. Pete Louis Leung wrote: > use rootCategory if u r using log4j 1.1.3 > use rootLogger if u r using log4j 1.2 and onwa

Re: Log4j Error

2002-03-20 Thread Louis Leung
use rootCategory if u r using log4j 1.1.3 use rootLogger if u r using log4j 1.2 and onwards Steve Wilkinson wrote: > You need something like this. > log4j.rootCategory=ERROR, R > > I don't know the log4j.rootLogger is a valid property. The "ERROR" tells it what >level to log and R tells it wha

Re: Log4j Error

2002-03-19 Thread Steve Wilkinson
You need something like this. log4j.rootCategory=ERROR, R I don't know the log4j.rootLogger is a valid property. The "ERROR" tells it what level to log and R tells it what appender to use. Hope that helps. - Original Message - From: Pete Serafin Sent: Tuesday, March 19, 2002 5:50 PM T

RE: Log4J and Struts - using Chiki's log4j configuration and getting tons of messages

2002-02-13 Thread Emaho, Ghoot
Hi Matt I can only assume that the initial error (when you have no log4j.properties file) is down to the extensions you are using being dependant on log4j - which means you need the properties file so it knows what to do. Using the Chiki log4j sorts this out - but there are a couple of thing

Re: log4j and weblogic

2002-02-01 Thread Chuck Cavaness
It seems that maybe you're trying to instantiate a log4j Logger in one of your actions or ActionServlet like this: Logger.getInstance( or ); and the class (Logger) can't be found by the class loader. Here's a couple of things to try: 1) Is the log4j.jar in your WEB-INF/lib directory for the

RE: log4j log file relative path

2001-12-06 Thread Adriano Labate
]] Sent: Thursday, December 06, 2001 3:06 PM To: Struts Users Mailing List Subject: RE: log4j log file relative path Not entirely struts related, but here it goes: The basedir for log4j seems to be $TOMCAT_HOME/logs. I guess it's something similar for jrun. So if you declare log4j.appender.RFA.F

RE: log4j log file relative path

2001-12-06 Thread Jon.Ridgway
Hi Adriano, Not sure if you can set a 'relative path'. If you are manually using the PropertyConfigurator consider putting the absolute path to the config file into a .properties file and access the properties file using the ResourceBundle. If you are not manually using the PropertyConfigurator

RE: log4j log file relative path

2001-12-06 Thread Tom Klaasen (TeleRelay)
Not entirely struts related, but here it goes: The basedir for log4j seems to be $TOMCAT_HOME/logs. I guess it's something similar for jrun. So if you declare log4j.appender.RFA.File=../webapps/regbl/logs/regbl.log it should work (on Tomcat, at least). Not entirely sure, but my feeling is that

RE: Log4J and Struts

2001-11-22 Thread Tom Klaasen (TeleRelay)
OK, didn't know that. I've only used Tomcat so far (and SilverStream in a dark and far-away past) tomK > -Original Message- > From: Stefano Mancarella [mailto:[EMAIL PROTECTED]] > Sent: donderdag 22 november 2001 15:22 > To: Struts Users Mailing List > Subj

Re: Log4J and Struts

2001-11-22 Thread Stefano Mancarella
> Startup servlet? I have no need for that one - either you name your > property file log4j.properties, or you specify the environment variable > log4j.configuration, and log4j will pick it up by itself. Remember that this doesn't work if log4j as been already configured elsewhere. F.e. this happ

RE: Log4J and Struts

2001-11-22 Thread Tom Klaasen (TeleRelay)
ses and will be invoced by a startup servlet. > > -Ursprüngliche Nachricht- > Von: Tom Klaasen (TeleRelay) [mailto:[EMAIL PROTECTED]] > Gesendet: Donnerstag, 22. November 2001 10:30 > An: Struts Users Mailing List > Betreff: RE: Log4J and Struts > > > Somewhere i

RE: Log4J and Struts

2001-11-22 Thread Tom Klaasen (TeleRelay)
Somewhere in the classpath. For Tomcat, I put it in TOMCAT_HOME/webapps//WEB-INF/classes hth, tomK > -Original Message- > From: storck [mailto:[EMAIL PROTECTED]] > Sent: donderdag 22 november 2001 9:30 > To: Struts User (E-Mail) > Subject: Log4J and Struts > > > Hi, > > where must I