Yes, this is how I did it, and it works fine. Does anybody know how you can set the location of the log-file to a *relative* path (e.g. /WEB-INF/log) instead of an absolute path? Marcel > -----Oorspronkelijk bericht----- > Van: William Jaynes [mailto:[EMAIL PROTECTED]] > Verzonden: dinsdag 31 juli 2001 15:43 > Aan: [EMAIL PROTECTED] > Onderwerp: Re: struts and log4J > > > The easiest way is to let the log4j static initializer work > for you. Place > log4j.jar in your WEB-INF/lib directory and your > log4j.properties file in > WEB-INF/classes. > > ----- Original Message ----- > From: "DUPRAT Alexandre" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, July 31, 2001 5:03 AM > Subject: struts and log4J > > > > Hi all, > > > > I'm a newbie in struts. > > I'd like to use log4J with struts. > > I don't know where i must do the log4J configuration. > > In another servlet, i would do it in init method but i > would like to use > > ActionServlet. > > Where can i put code like : > > BasicConfigurator.configure() ..... ? > > > > Thanks for help. > > > > Alexandre Duprat > > SOPRA. Direction France Sud. Bordeaux > > [EMAIL PROTECTED] > > > > > > > > +----------------------------------------------------------------+ > > | Ce courrier ainsi que les fichiers joints sont confidentiels. | > > | Si vous avez recu ce courrier par erreur, veuillez en informer | > > | l'administrateur du systeme : [EMAIL PROTECTED] | > > | --------- | > > | Ce message confirme que le courrier a passe le controle | > > | antivirus du relais de messagerie Internet avec succes. | > > +----------------------------------------------------------------+ > >

