Hi Kameron,

In case you are using an application server with your system, I would
suggest you place your log4j configuration file in the app. servers
configuration directory. For example, in case of using JBoss, you may
place it jboss-4.0.1sp1\server\..\conf directory.

Hope that helps,
Norbert

On 2/7/06, kameron cole <[EMAIL PROTECTED]> wrote:
> I've searched wide for the answer of where to put the log4j.properties file
> in a J2EE system.  It's kind of sad to me that none of the articles begins
> to address this really essential part of the set up.
>
> in one obscure post, someone said a "quick fix" was to put it in one of the
> extension classloader folders for the various appservers.  can't really be a
> good thing, since it would affect everybody else's log4j.  still, it does
> work.
>
> so, it's not a problem that I don't understand the classpath - it's that
> log4j looks somewhere, not everywhere, for a file called log4j.properties.
> someone must know that exact place where the log4j designers intended to put
> that file.
>
> thank you for any and all answers.
>
> --
> yours,
> k.
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to