Antwort: disableAll()

2002-12-03 Thread Ulrich . Kleeberger
try this : Logger.getRootLogger.setLevel( Level.OFF ) i think that should turn off logging. Leos Literak

RE: can each thread has a logfile?

2002-12-03 Thread Thomas Muller
Li, As far as I understand log4j has no built-in mechanism aimed at facilitating what you ask for, but it's not hard to code this functionality yourself. You can e.g. use java.lang.ThreadLocal. public class Foo { private static final ThreadLocal THREAD_LOCAL_LOGGER = new ThreadLocal() {

Re:Re: can each thread has a logfile?

2002-12-03 Thread Li YuanHao
Thank you very much! You give me great help. - Original Message - From: Thomas Muller [EMAIL PROTECTED] To: Log4J Users List [EMAIL PROTECTED] Sent: Tuesday, December 03, 2002 6:39 PM Subject: RE: can each thread has a logfile? Li, As far as I understand log4j has no built-in

Re: changed user - strange behaviour

2002-12-03 Thread Leos Literak
sorry, stop script didn't work correctly, so in fact original jetty was wunning. when killall -ed all javas and started jetty, it worked fine. still I am confused, why RollingFileAppender was not able to write to file but occasionally. it is really strange and I dont expect, it is reproducibly.

Re: Antwort: disableAll()

2002-12-03 Thread Leos Literak
I try to upgrade and I realized, that method disableAll() has dissappeared(). [EMAIL PROTECTED] wrote: Logger.getRootLogger.setLevel( Level.OFF ) i think that should turn off logging. coool. thanks! really interesting. I am also curious, whether this turns off logging completely or just in

configuration/inheritance

2002-12-03 Thread Friso Vrolijken
Hi all, I've got a project where I want separate classes to log to separate files. To do this my config file is looking like this: = start log4j.properties = # # Log 4j Settings # # anything that's not classified goes to the default logfile, anything # that we haven't written goes to the

log4j in EJB

2002-12-03 Thread Yi Chen
Using file based appender inside EJB is restricted, but has anyone tried configuring weblogic to open the back door so that logger inside EJB can write to a log file? Thanks. Yi -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

R: log4j in EJB

2002-12-03 Thread Ferrari Alberto
yes, it works well in not cluster environment. Problems begin if more Virtual Machine try to write the same file Alberto -Messaggio originale- Da: Yi Chen [mailto:[EMAIL PROTECTED]] Inviato: martedì 3 dicembre 2002 17.16 A: Log4J Users List Oggetto: log4j in EJB Using file based

RE: log4j in EJB

2002-12-03 Thread Yi Chen
Alberto, We probably will do JMS based appender for cluster environment. What I am working on is a single machine case, but I haven't figured out where to make changes in the configuration so the file based appender will work. Do you mind sharing the trick? Thanks, Yi -Original

RE: log4j in EJB

2002-12-03 Thread Ebersole, Steven
We use JMS-based logging now, but initially used file-appender logging in our tests about a year ago. Thats a long stretch for my brain, but I seem to recall not having to make any config changes to weblogic. Have you tried with you current weblogic setup (sans any changes)? What was the error

R: log4j in EJB

2002-12-03 Thread Ferrari Alberto
Oks I'm using log4j in weblogic (only EJB tier) and it works without any problem (and without any configuration change). Weblogic is wlserver6.1 sp3 Alberto -Messaggio originale- Da: Yi Chen [mailto:[EMAIL PROTECTED]] Inviato: martedì 3 dicembre 2002 17.30 A: Log4J Users List Oggetto:

Re: Multiple Log4J instances in one VM

2002-12-03 Thread sanjayrajsoni
We also ran into the same issue and is causing many headaches prompting some team-members to insist that we get rid of Log4J. Log4J being open-source is used by different teams/companies who have no cooridnation between them. I hope in the future releases this problem can be solved. --- In

Re[2]: Multiple Log4J instances in one VM

2002-12-03 Thread Jacob Kjome
Hello sanjayrajsoni, Logging with separate logger repositories (hierarchies) using a logger repository selector is log4j's way of dealing with this. It works quite nicely, if you ask me. It allows you to configure each individual logger repository without treading on any other. See Ceki's doc

DOMConfiguration improvements?

2002-12-03 Thread Chintalapati, Shyam
I haven't subscribed to the development list. So, I will post it here. I am trying to subclass DOMConfigurator to add proprietary information in the configuration xml. The subclass will parse this information and will invoke the parse method of the superclass to do the rest of the work. What