If its a web project, you could use a startup servlet
On 9/6/05, James Stauffer <[EMAIL PROTECTED]> wrote:
>
> One way to solve your problem is to use automatic configuration (i.e
> rename to log4j.properties and add to your classpath).
One way to solve your problem is to use automatic configuration (i.e
rename to log4j.properties and add to your classpath).
On 9/3/05, Jason <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I'm in the process of adding log4j to a project I'm
> working on and I have a question about a configuration
> strat
Jason,
I'll share what me and my colleagues have done in our code base and
hopefully that will help.
All our classes get loggers via a Loggers class. We declare that in our own
namespace (i.e. com.placebase.log.Loggers). The Loggers class offers the
getLogger() function for example. In this fu