I use log4j in a Stateful Session EJB in Weblogic
server,
when It try to output the log info to a file at the
same time,
then some info is lost. the Appender we used is
RollingFileAppender,
the API of this Appender use Synchronized lock.Does
this mean
log4j implements singlton,but instances of EJBs can't synchronize the
output to one file at the same time?
How can I slove this problem?
any good idea?
Thanks,
Jennifer chen
|