This is where the NDC would be useful.
In Class 2:
NDC.push("Class 2");
In Class 1:
NDC.push("Class 1");
Then when you are ready to log a message:
log.debug("Message");
The NDC entries will be available via the LoggingEvent that is send to
the appender, so if you configure an appender to act
Hi
The problem is that closing tags for 'body' and 'html' are being placed in the middle
of the file. Therefore, all events logged after that are unformatted. I can't figure
out why these tags are coming in.
thanks
Rajat.
Ceki Gülcü <[EMAIL PROTECTED]> wrote:
The file did not go through.
oof.. my bad :) it works now!
thanks,
Rishi
On Wed, 01 Oct 2003 20:25:56 +0200, "Ceki Gülcü" <[EMAIL PROTECTED]> said:
>
> Not environment variables, system properties!
>
> System properties are Java specific.
>
> Try ${catalina.home}/...
--
Rishikesh Tembe
[EMAIL PROTECTED]
--
http:/
Not environment variables, system properties!
System properties are Java specific.
Try ${catalina.home}/...
At 10:16 AM 10/1/2003 -0800, you wrote:
First off, I am under Windows2000. Is what you have said
platform-independent?
I have system variable CATALINA_HOME=C:\Tomcat4.1
In log4j.properties
First off, I am under Windows2000. Is what you have said
platform-independent?
I have system variable CATALINA_HOME=C:\Tomcat4.1
In log4j.properties, I specify
log4j.appender.LOGMSGS.File=${CATALINA_HOME}/webapps/myapp/WEB-INF/log/messages.log
What I get is a FileNotFoundException:
\webapps\myapp\
There is no such thing as a dumb question. See also below.
At 09:39 AM 10/1/2003 -0800, Rishikesh Tembe wrote:
Hi group,
Is there a way I can specify an absolute path for the File for the
DailyRollingFileAppender in my log4j.properties?
I want my log files to be located in the
CATALINA_HOME/webap
Hi group,
Is there a way I can specify an absolute path for the File for the
DailyRollingFileAppender in my log4j.properties?
I want my log files to be located in the
CATALINA_HOME/webapps/myapp/WEB-INF/log directory. How can I specify this
destination without tying it down to the actual location
Howdy,
Chiming it late from the gallery -- you can take your log and try it in the HTML
Validator (http://validator.w3.org/). Although that requires a DOCTYPE so you may
have to add one manually to your HTML log file before validating.
Yoav Shapira
Millennium ChemInformatics
>-Original M
The file did not go through. The log4j-user mailing list filters out
certain file types and has a size limit of 100KB.
Maybe the table is not properly formatted? Look at the HTML file at the
spot where things start to go wrong.
At 07:56 AM 10/1/2003 -0700, Rajat Sharma wrote:
Hi
Sorry about th
I just started using log4j and am having trouble trying to figure out how to chain
logging messages
class 1 makes a call to class 2 I would like to be able to pass the message from
class 2 to class 1 where it would ultimately be logged, that way when I review the log
file it would show
Hi
Sorry about that... The log files are 10MB each, so I'm attaching a part of the log file that shows the formatting problem. This problem is occuring in all of the log files (there are 5 separate logs being created). Could this occur due to the fact that I have set the Append value to 'true' a
11 matches
Mail list logo