Kristian,
Do wish to redirect your log4j calls to JDK logging? If so, you could use
log4j-over-slf4j, and then let SLF4J use JDK logging as the underlying logging
system by placing slf4j-jdk14.jar on your class path.
HTH,
[1] http://www.slf4j.org/log4j-over-slf4j.html
Kristian Rink wrote:
Well, you're going to want to do this programmatically, probably in the
selector.getLoggerRepository() method (or in a static initializer() if you
pre-configure everything) to be able to get a handle to the proper logger
repository to run configuration upon.
In any case, you can still use the
On Fri, 11 Apr 2008 09:58:23 -0400
"Robert Pepersack" <[EMAIL PROTECTED]> wrote:
Jake,
I've been thinking about your last reply.
I don't understand part of it.
You'll have to come up with some way to determine how you configure each
logger repository, though. You could pre-initialize all th
I think SLF4J might have something like a Log4j-over-JUL or something like
that. I think SLF4J would perform the translations for you. Don't quote me
on that, though. It's just something to look into.
Jake
On Fri, 11 Apr 2008 10:36:59 +0200
Kristian Rink <[EMAIL PROTECTED]> wrote:
Folks
I have a RepositorySelector that manages several logging hierarchies and I want
to send the output of each Hierarchy to its own log file. I would like to use
the same configuration file for all of the Hierarchies, but have a different
log file for each Hierarchy. I'm using PropertyConfigurator
I think log4j.properties should be in WEB-INF/classes
On Fri, Apr 11, 2008 at 3:07 AM, Brokenbone <[EMAIL PROTECTED]> wrote:
>
> Hi
>
> I'm trying to configure log4j in my web application (built with Oracle ADF
> (JSF)). I've copied the jar into WEB-INF/lib folder, created
> log4j.properties f
Jake,
I've been thinking about your last reply.
I don't understand part of it.
>You'll have to come up with some way to determine how you configure each
>logger repository, though. You could pre-initialize all the logger
>repositories based on the MDC value(s) you expect to select upon.
I un
Folks;
maybe a question inappropriate for this list (sorry in advance),
however I am unsure how to get this solved. Situation is as follows:
Using log4j in some of our applications which now have to be run inside
a glassfish application server. So far I managed to make the log-files
appear in and
Hi
I'm trying to configure log4j in my web application (built with Oracle ADF
(JSF)). I've copied the jar into WEB-INF/lib folder, created
log4j.properties file and put it to WEB-INF folder and modified
orion-application.xml by adding
When I deploy this application to Oracle AS and