Hi! mohan, ok!.. with this configuration can i get user specific log messages??
rgds, dinesh ----- Original Message ----- From: "Mohan Radhakrishnan" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Thursday, February 13, 2003 4:03 PM Subject: RE: struts & log4j > Hi, > Our commons-logging.properties file in WEB-INF/classes looks like this. > > > org.apache.commons.logging.LogFactory=org.apache.commons.logging.impl.Log4jF > actory > > and then we do this. > > import org.apache.log4j.Category; > private static Category logger_ = Category.getInstance( > Action.class.getName() ); > > Isn't it actually this simple ? Others seem to be complex. > > Mohan > > -----Original Message----- > From: Nicolas De Loof [mailto:[EMAIL PROTECTED]] > Sent: Thursday, February 13, 2003 3:58 PM > To: Struts Users Mailing List > Subject: Re: struts & log4j > > > What developpement tool are you using ? > > I know that Visual Age can export your code as java byte code (classes), > whenever it has compilation errors. It gived me such errors as .class is > invalid and cannot be instanciated by ClassLoader. > > Nico. > > > > ----- Original Message ----- > > From: "Dinesh Sampangi" <[EMAIL PROTECTED]> > > To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > > Sent: Thursday, February 13, 2003 9:05 AM > > Subject: struts & log4j > > > > > > Hi! All, > > i'm trying to use log4j in struta application.. but when i > create > > a log4j instance inside( > > private final static Logger log = Logger.getLogger(PAF3Entity.class) > > ) strut action class..the action path is not forwarded..instead it throws > > the following at the console. > > > > 2003-02-13 01:28:22 - Ctx( /medicare ): 500 R( /medicare + > > /Authorisationone.do > > + null) No action instance for path /Authorisationone could be created > > > > but the action tag class & its paths is well defined in the struts config > > file.. everything runs fine if the logger instance is not created. > > > > has anyone exp.. this sort . pls help > > > > TIA > > Dinesh > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]