o sorry
i forgot to say that i wanted to somehow keep this
output in a file (containging a history of what errors
have been thrown) aswell as have it sent to the stderr
--- Anuj Agrawal <[EMAIL PROTECTED]> wrote: > tomcat
already logs errors in logs/jvm.stderr by
> default (erm - you might need t
You can specify custom error pages, and they can contain scriptlets to log information
about the error.
Alternatively you could setup Tomcat's error handling (as was already mentioned).
>>> [EMAIL PROTECTED] 05/08/01 12:00am >>>
Thanks for you r help guys, ive managed to fix the
problem:)
whic
Personally I think that wrapping should be done on whatever client you wish to view
your logs on.
However, if you wished to wrap your messages on the fly, you would need to extend your
favourite appender and change the doAppend() method.
something like:
doAppend(LoggingEvent logevent)
{
i
I suspect that this is not a log4j problem.
You are probably best to go to http://java.sun.com for a tutorial on applets.
www.cse.unsw.edu.au/~cs1021 also has some good information.
>>> [EMAIL PROTECTED] 05/08/01 06:30am >>>
Hi
I am trying to use the log4j for logging my project.
it works fine
I've read the docs and searched the archives, but can't find any mention of the
functionality I'm interested in. Does anyone know if there's a way in Log4j to get
the messages (%m) to wrap? I want to keep a log of client requests and responses
which could easily be 20,000 characters long.
Fo
Hi
I am trying to use the log4j for logging my
project.
it works fine when my product run on a
appletviewer, but applet doesn't initialize when
I try to run the same on a browser.
please let me know if I am missing some
thing.
regardsRavi Prasad
[EMAIL PROTECTED]
Eric,
Does SPXMLLayout have settable properties called Triggerable and LocationInfoOn? In
other words, does it have the methods setTriggerable(boolean) and
setLocationInfoOn(boolean)? Regards, Ceki
At 15:55 07.05.2001 -0400, you wrote:
>Hi,
>
>I am trying to do an XML configuration and is ha
Hi,
I am trying to do an XML configuration and is having problem with setting
parameters of my own Category subclass. Attached is the xml file and error
message. Does anyone know the reason? Also, it is still necessary for my own
Category subclass to implement OptionHandler interface? Thanks.
E
Greetings,
In a serious and one time abuse of the posting rules for the log4j mailing lists, I am
going to ask the audience if they have an open position for an experienced C, C++,
Java developer in their U.S.A. based organization. Indeed, a good friend of mine,
Grégoire Jaunin, who very rece
At 12:29 07.05.2001 -0400, you wrote:
>I find that if I (1) write a little test program and run it from a
>command line, and (2) use the log4j static initializer, and (3) the
>log4j.jar file is in the jre/lib/ext directory, then the
>log4j.properties file is found no matter where it is as long a
Title: RE: log4j.properties file location bug?
I have been using log4j with Tomcat (and Struts), I've beeen putting log4j.jar in
the WEB_INF/lib and log4j.properties in WEB-INF/classes directories, and haven't
had any problems.
Shunhui
-Original Message-
From: William Jaynes [
I find that if I (1) write a little test program and run it from a
command line, and (2) use the log4j static initializer, and (3) the
log4j.jar file is in the jre/lib/ext directory, then the
log4j.properties file is found no matter where it is as long as it is
in a directory that is on the clas
I'm
fairly new to log4j, but this is probably what you're looking
for:
org.apache.log4j.xml.XMLLayout.java
-Original Message-From: abisheks
[mailto:[EMAIL PROTECTED]]Sent: Monday, May 07, 2001 4:33
AMTo: [EMAIL PROTECTED]Subject: XML based
layout manager
Hello All,
tomcat already logs errors in logs/jvm.stderr by default (erm - you might need to
look in your wrapper.properties file to make sure it is enabled) ..
Anuj.
jason teh wrote:
> Thanks for you r help guys, ive managed to fix the
> problem:)
>
> which now leads me to another question; is there a way
Thanks for you r help guys, ive managed to fix the
problem:)
which now leads me to another question; is there a way
to log the error messages that are generated when
there is problem with the tomcat server eg there is
something wrong with the .java class and an error 500
message is spat back at
The javadocs and the code indicate that
PropertyConfigurator.configure(String) expects String to be the path to
a file. So this method doesn't use the class loader. It's looking for a
filepath, so as Anuj said, using just "log4j.properties", the file would
have to be in the directory where the VM
Dear Ceki Gülcü,
sorry, there were some 1.04 files instead of 1.16b files used (no words
about VCafe...)
Thilo
-Original Message-
From: Ceki Gülcü [mailto:[EMAIL PROTECTED]]
Sent: Montag, 7. Mai 2001 12:38
To: LOG4J Users Mailing List
Subject: Re: Errors in Log4J version 1.16b?
Hi Thi
Isn't it simply based on the "resource loading" mechanism ? (i.e. the file
has to be available in a "root" package in the classpath)
Dominique JOCAL
Consultant - OCTO Technology
mailto:[EMAIL PROTECTED]
tel:+33 6 22 66 09 70
http://www.octo.com
- Original Message -
From: "Anuj Agrawal" <[
jason teh wrote:
> PropertyConfigurator.configure("log4j.properties");
If you are using the above line in your code, then it is assuming that the
log4j.properties file is in the directory that the VM was started - in tomcat's case,
it is either the bin directory (if you are
starting it from co
Hi Thilo,
At 12:00 07.05.2001 +0200, you wrote:
>1) when compiling the file XPriority.java which is located in the package
>"org.apache.log4j.xml.examples" an error occurs:
>
>C:\Java\jakarta-log4j-1.1b6\src\java\org\apache\log4j\xml\examples\XPriority
>.java(15) : Variable DEBUG_INT in org.ap
1) when compiling the file XPriority.java which is located in the package
"org.apache.log4j.xml.examples" an error occurs:
C:\Java\jakarta-log4j-1.1b6\src\java\org\apache\log4j\xml\examples\XPriority
.java(15) : Variable DEBUG_INT in org.apache.log4j.Priority not accessible
from org.apache.log4j.
Abhishek,
Look under org.apache.log4j.xml. You should find an XMLLayout there. Ceki
At 10:33 07.05.2001 +0200, you wrote:
>Hello All,
>
>I started to read the LOG4J documentation today. i noted that the patternlayout
>manager can log in c style output statements. However, my application needs
Hello All,
I started to read the LOG4J documentation today. i
noted that the patternlayout manager can log in c style output statements.
However, my application needs to log data in XML format. Has anyone already
developed a Layout class that logs in XML format ?
regards,
Abhishek.
23 matches
Mail list logo