I dont see any problem here.Only thing is that your property file should be present in classpath somewhere. may be in web-inf\classes. Also check 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 >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.prop..its as > >log4j.rootLogger=ALL ,Log >log4j.appender.Log=org.apache.log4j.ConsoleAppender >log4j.appender.Log.layout=org.apache.log4j.PatternLayout >log4j.appender.Log.layout.ConversionPattern=%d{dd MMM >yyy HH:mm:ss,SSS} %-5p %c - %m%n > ># Define the type of logger >#log4j.appender.Log=org.apache.log4j.RollingFileAppender >#log4j.appender.Log.File=logs/dbcube.log >#log4j.appender.Log.MaxFileSize=10000KB > ># Keep one backup file >#log4j.appender.Log.MaxBackupIndex=1 > ># Define the stuff to log >#log4j.appender.Log.layout=org.apache.log4j.PatternLayout >#log4j.appender.Log.layout.ConversionPattern=%d{dd MMM >yyy HH:mm:ss,SSS} %-5p %c - %m%n > >#log4j.logger.dbcube=ALL, Log > > >regards >sathish >--- "Kalra, Ashwani" <[EMAIL PROTECTED]> wrote: >> from the code you sent , there doesnt seem to be any >> problem. >> >> >i don't use category class at all >> > >> >then how come its showing error....i don't get >> it... >> >> Some classes internally still uses this class. They >> will finally be removed. >> >> Check to see that Category 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: Sathish Babu K R [mailto:[EMAIL PROTECTED] >> >Sent: Wednesday, December 10, 2003 12:38 PM >> >To: Struts Users Mailing List >> >Subject: RE: Log4J >> > >> > >> >hi alan >> > >> >i don't use category class at all >> > >> >then how come its showing error....i 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/ >> > >> >>--------------------------------------------------------------------- >> >To unsubscribe, e-mail: >> [EMAIL PROTECTED] >> >For additional commands, e-mail: >> [EMAIL PROTECTED] >> > >> >> ____________________________________________________ >> This message contains information that may be >> privileged or confidential and >> is the property of the Cap Gemini Ernst & Young >> Group. It is intended only >> for the person to whom it is addressed. If you are >> not the intended >> recipient, you are not authorised to read, print, >> retain, copy, disseminate, >> distribute, or use this message or any part thereof. >> If you receive this >> message in error, please notify the sender >> immediately and delete all copies >> of this message. >> >> >--------------------------------------------------------------------- >> To unsubscribe, e-mail: >> [EMAIL PROTECTED] >> For additional commands, e-mail: >> [EMAIL PROTECTED] >> > > >__________________________________ >Do you Yahoo!? >New Yahoo! Photos - easier uploading and sharing. >http://photos.yahoo.com/ > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > ____________________________________________________ This message contains information that may be privileged or confidential and is the property of the Cap Gemini Ernst & Young Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorised to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

