|
From: Leif M. <le...@ta...> - 2004-06-22 04:36:14
|
Oded,
What version of the Wrapper are you using?
Starting with 3.1.0, the WrapperManager overrides the System.out and
System.err
print streams with wrapper streams. This was necessary to implement
some logging
features.
This should not have affected log4j as it should simply make use of
the wrapped
streams as usual. Other programs that do the same thing have been working
correctly.
I am not a log4j user myself. If you could write up a very simple
java program
which demonstrates this problem then I will try running it both with and
without the
Wrapper and attempt to find out where the problem, if any, is. Getting
me a
sample program helps out a lot as 95% of the time tracking down such
problems
is often taken figuring out how to set up the test case.
Cheers,
Leif
Oded Blayer wrote:
> I am trying to use Java Service Wrapper on an application that uses log4j.
> The problem I encounter is that all of my log messages are going
> directly into the wrapper log, instead of the logs I specified in my
> log4j.xml config file.
> Is there any reason that the wrapper will override the Log4J?
> Is there a log4J.xml to the wrapper, to which I can add my appenders?
|