Re: location / specification of location for log4j

2004-01-23 Thread Jacob Kjome
First, I would upgrade to 1.2.8. Second, I would not point to a config file within a single webapp to be used for the whole VM. If this logging is to be for WebLogic as a whole, put the file somewhere not application specific. If you want application specific logging, don't set this property

Re: Anyone knows about org.apache.log4j.LayoutBeanInfo

2004-01-23 Thread Jacob Kjome
At 04:42 PM 1/23/2004 +0100, you wrote: The Manifest file of log4j-1.2.7.jar : -> Manifest-Version: 1.0 Created-By: Apache Ant 1.5.1 Name: org/apache/log4j/ Implementation-Title: log4j Implementation-Version: 1.2.7 Implementation-Vendor: "Apache Software Foundation" <-

RE: Anyone knows about org.apache.log4j.LayoutBeanInfo

2004-01-23 Thread Paul Smith
I would not be concerned by this at all. Part of the JavaBean model says that for the given Java class, there _might_ be a corresponding *BeanInfo class. The java.bean.Introspector, which is normally the place to get a BeanInfo from will either try to find a matching class, and if not found, wi

location / specification of location for log4j

2004-01-23 Thread Joe Collins
I get the following error when I run my code containing log4j logging (in java struts) log4j:ERROR Could not open []. java.io.FileNotFoundException: (The system cannot find the path specified) I have my log4j.xml file in the WEB-INF\classes directory of my server I point to log4j-1.2.6.jar on

RE: unknown problem with SMTPAppender

2004-01-23 Thread Ken . Liu
Ionel - It's not a limitation, it's a feature. You don't want to send entire contents of logs in an email message, you're usually only interested in the events around the time when an error occurred. I don't think the threshold is adjustable. When you create an SMTPAppender, it instantiates a d

RE: component level log

2004-01-23 Thread Babu, Bharathi
All right all; I think I got what I want... thanks! -- http://jakarta.apache.org/log4j/";>

Re: Anyone knows about org.apache.log4j.LayoutBeanInfo

2004-01-23 Thread Olle Olsson
The Manifest file of log4j-1.2.7.jar : -> Manifest-Version: 1.0 Created-By: Apache Ant 1.5.1 Name: org/apache/log4j/ Implementation-Title: log4j Implementation-Version: 1.2.7 Implementation-Vendor: "Apache Software Foundation" <- I see now that it looks really old.

FW: component level log

2004-01-23 Thread Babu, Bharathi
True, I think I should've explained my situation more... We are using commons Façade for logging. So, my ability to interact direct log4j is pretty limited. I'm trying to find a good example of a log4j.xml explain me how to-do this. Thanks -Original Message- From: Michael Coughlan [mai

Re: Anyone knows about org.apache.log4j.LayoutBeanInfo

2004-01-23 Thread Ceki Gülcü
Log4j version? At 04:19 PM 1/23/2004 +0100, you wrote: See below Ceki Gülcü wrote: Are you running JDK 1.1? bash-2.05b$ java -version java version "1.4.1" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-b21) Java HotSpot(TM) Client VM (build 1.4.1-b21, mixed mode) bash-2.05b$ /ol

Re: Anyone knows about org.apache.log4j.LayoutBeanInfo

2004-01-23 Thread Olle Olsson
See below Ceki Gülcü wrote: Are you running JDK 1.1? bash-2.05b$ java -version java version "1.4.1" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-b21) Java HotSpot(TM) Client VM (build 1.4.1-b21, mixed mode) bash-2.05b$ /olle At 04:12 PM 1/23/2004 +0100, you wrote: Using a sys

Re: Anyone knows about org.apache.log4j.LayoutBeanInfo

2004-01-23 Thread Ceki Gülcü
Are you running JDK 1.1? At 04:12 PM 1/23/2004 +0100, you wrote: Using a system (Jena2) that contains log4j. I get the following classloading failures (extract from a sort of classloading log) ... [JarResources]getResource: reading org/apache/log4j/helpers/PatternParser$MDCPatternConverter.

component level log

2004-01-23 Thread Babu, Bharathi
Hello team, I'm starting with log4j here, I got a situation in my project.. I appreciate any of your suggestion. I got many core components in my app... Let's say org.myapp.security.* org.myapp.admin.* org.myapp.navigation.* I like to get each of the component logs at different priority and diff

Anyone knows about org.apache.log4j.LayoutBeanInfo

2004-01-23 Thread Olle Olsson
Using a system (Jena2) that contains log4j. I get the following classloading failures (extract from a sort of classloading log) ... [JarResources]getResource: reading org/apache/log4j/helpers/PatternParser$MDCPatternConverter.class [JarResources]getResource: reading org/apache/log4j/helpers

RE: configuring log4j with BEA Weblogic 8.1

2004-01-23 Thread Shapira, Yoav
Howdy, >I have the root level set to ON in the log4j.xml, below is the log4j.xml >file, anything obvious a miss?. I did have the appenders set to >ConsoleAppender and removed the reference to param name="File", but the >logs were still not generated. ON is not a log4j level. OFF and ALL are, al

log4j writing to standard out

2004-01-23 Thread Michael Coughlan
How can I get log4j to write to standard out? I can't seem to find the proper FileOutputStream Class to initiate the WriterAppender that would display to the screen. Sorry that this is such a basic Java lang question. Below is the Hello World program that I have working. TIA, MPC public class

RE: configuring log4j with BEA Weblogic 8.1

2004-01-23 Thread Joe Collins
I have the root level set to ON in the log4j.xml, below is the log4j.xml file, anything obvious a miss?. I did have the appenders set to ConsoleAppender and removed the reference to param name="File", but the logs were still not generated. Many thanks Joe

RE: unknown problem with SMTPAppender

2004-01-23 Thread Ionel GARDAIS
You got it Ken ! I was not aware of this limitation. BTW, is it possible to raise this limit in order to send WARN messages ? (not only ERROR or FATAL) (using threshold ?) thanks, ionel _ Do You Yahoo!? -- Une adresse @yahoo.fr gra