Re: can each thread has a logfile?

2002-12-02 Thread Li YuanHao
Hi,Could anyone tell me THAT whether I can configure log4j to log each thread to each self logfile? Could you give a sample? Any advice is appreciated . -- To unsubscribe, e-mail: For additional commands, e-mail:

How to use the encoding property of an appender to output Unicode characters

2002-12-02 Thread Aron Kramlik
Hi! I would like to ask a question which has been discussed previously on this list but I never found a resolution to it. A WriterAppender has an attribute encoding and thus the DailyRollingFileAppender inherits this. Below is the XML configuration file that i use. When I write log a String to t

RE: Problem with Log4j and Weblogic hot deploy (SOLVED -- user error)

2002-12-02 Thread Ceki Gülcü
No, I think this is a problem that will bite other develoeprs so it's really helpful to report the problem as you have done. Can you explain where the properties files were located because I don't really get it. By the way, the "Dunce" cap is a resource shared by most developers causing much c

RE: Problem with Log4j and Weblogic hot deploy (SOLVED -- user error)

2002-12-02 Thread Butler, Pete
Never mind. The problem I was having was that, unbeknownst to me, the app's EJBs were hitting their own log4j properties file, which had very different settings from the file I was using. For some reason, bouncing the server resulted in MY properties file getting used, while a re-deploy was picki

RE: weblogic6.1 & log4j

2002-12-02 Thread Yi Chen
Steven, Thanks a lot for the tips. When following your instructions, I noticed that we had axis.jar in our classpath. axis.jar has its own log4j.properties inside which is first located by the class loader of weblogic. Now everything is all right. Thanks again! Yi -Original Message-

RE: Problem with Log4j and Weblogic hot deploy

2002-12-02 Thread Butler, Pete
> Anyway, make sure that you have one, i.e. 1, log4j-x.jar lying around. Done. No luck. I've obsessively gone through my machine, made sure there's only one log4j*.jar file lying around, made sure that no log4j*.jar files are getting wrapped into any of the .ear or .war files I'm deploying. I'v

RE: weblogic6.1 & log4j

2002-12-02 Thread Ebersole, Steven
I am also using WL under Solaris, so I'm pretty sure that that is not the problem. Are those first two lines valid inside the properties file? Especially, log4j.debug since it will look for that even prior to attempting to locate the config file. When you start weblogic, you should see some mess

RE: weblogic6.1 & log4j

2002-12-02 Thread Yi Chen
Steven, here is what my log4j is like: = log4j.debug=true # /vobs is a directory under the root of a unix file system VASP_LOG_HOME=/vobs/vasp/log log4j.rootLogger=DEBUG, DebugRootAppender, InfoRootAppender, ErrorRootAp

Re: Ceki saved my day!!! (classloader hell)

2002-12-02 Thread Ceki Gülcü
At 10:09 30.11.2002 +, [EMAIL PROTECTED] wrote: [snip] After some fiddling I found out that it is actually a class cast problem. Fortunatlly I found Ceki's "Think again" on http://www.qos.ch/logging/thinkAgain.html So the problem is with commons-logging, I never used it, but digester does

RE: Object logger

2002-12-02 Thread Shapira, Yoav
Howdy, I couldn't have said it better. In fact, I can see automatic serialization and transmission to a (possibly remote) appender as a security risk in some cases. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Thomas Muller [mailto:[EMAIL PROTECTED]] >Sent: Friday,

RE: LogFactor5

2002-12-02 Thread Beth Linker
It's my impression that LogFactor5 only works with its own Log4J layout pattern, which is described in the LogFactor5 docs. To use your own layout, you'd probably have to make some significant modifications to the LogFactor5 code. .. Beth Linker Lanthorn T

changed user -> strange behaviour

2002-12-02 Thread Leos Literak
Hi, I run jetty and today I switched it from my user to www-data. Since then logging is really strange. I (still) use log4j 1.1.3 so what happens: files were belonging to user literakl and I made them world writabeble. All parent directories were r-x. During init stage it wrote few information t