struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eduardo Pelegri--Llopart <Eduardo.Pelegrillop...@eng.sun.com>
Subject Re: logging ?
Date Mon, 09 Oct 2000 20:56:40 GMT
Another place to look is at the standard logging package for the Java
platform, described at:  

http://java.sun.com/aboutJava/communityprocess/jsr/jsr_047_log.html

	- eduard/o


Colin Sampaleanu wrote:
> 
> I would reccommend taking a look at log4j (http://www.log4j.org). This is a
> very nicely thought out logging package originally sponsored by IBM, and now
> donated to the open source community. We've used it in a number of projects
> with great success. It's very flexible in that output can go to multiple
> 'appenders' at the same time (e.g. a file and the console), you can very
> flexibly control what output from what code goes where, and you can do this
> all without recompiling... It's also very low overhead.
> 
> > -----Original Message-----
> > From: Quaini Michele [mailto:michele.quaini@fastweb.it]
> > Sent: October 6, 2000 5:38 AM
> > To: 'struts-user@jakarta.apache.org'
> > Subject: logging ?
> >
> >
> > Hello
> >
> > we have the following problem:
> >
> > part of our application logging goes in the file servlet.log
> > because in the
> > Action servlets we use the method servlet.log
> > while part of it goes on the console because it is done with
> > system.out.println
> > at the end, we cannot rebuild the application flow in case of problems
> >
> > what is the best solution?
> > including the package also in the bean so we can servlet.log also from
> > them???
> > Or there is a better solution?
> >
> >
> >
> > thanx
> >
> > Michele
> >

Mime
View raw message