Hi,
I have a problem in my XMLayout. The log file which is formed does
not have a main tag. So it does not open in the internet explorer.
Can anyone help me out on how to include the main tag?
I am attaching the relevant files I am using.
Thanks in advance
Anand
<> <> <>
WA
Hopefully this is a quick question. I'm trying to get Chainsaw to read a
file created with XMLLayout. I've read the XMLLayout javadoc and have not
been able to figure out exactly what I need to do to modify the output so
that chainsaw will read the file in. I will admit that I
Hi,
I'm trying to open a log file via Chainsaw which has been written to via
the XMLLayout Appender
As per the Javadoc, I have created an xml file with the following entries
]>
http://jakarta.apache.org/log4j/";>
&data;
If I attempt to open this with Chainsaw I get a
Hi!
I have recently started using Log4j.
Could anyone of U, get me an example as to How I can use XMLLayout and
RollingFileAppender to obtain a XML based log output format.
Regards
Subhashini
-
To unsubscribe, e
How do I customize the XML log event produced when using the XMLLayout
appender? I would like to include additional data as is currently done with
the ConversionPattern. However, the ConversionPattern is not supported by
the XMLLayout appender. Specifically, I want to output the calling class (%C
How do I customize the XML log event produced when using the XMLLayout
appender? I would like to include additional data as is currently done with
the ConversionPattern. However, the ConversionPattern is not supported by
the XMLLayout appender. Specifically, I want to output the calling class (%C
parser - at least the one bundled with tomcat 4.0
Question, should it work with Xerces 2.x?
Thanks,
Chris
At 8/12/2002 02:55 AM, you wrote:
>Hopefully this is a quick question. I'm trying to get Chainsaw to read a
>file created with XMLLayout. I've read the XMLLayout
]]
Sent: Monday, August 12, 2002 4:39 AM
To: Log4J Users List
Subject: Re: XMLLayout & Chainsaw
Figures that I would get it working after asking for help. Turns out it
was the version of the xml parser. While chainsaw will startup with
xerces-1.x it will not parse the file. I tried the XercesJ
When i use the
XMLLayout as shown below:
log4j.appender.R.layout=org.apache.log4j.xml.XMLLayout
It generates the following message:
The issue i am facing is that the log4j.dtd defines the event as
follows:
Note that the dtd uses "priority" while the XMLLayout
uses "leve
Hi
Can anyone tell me which appender is best suited for HTMLLayout and XMLLayout.
Can we have a HTML or XMLLayout for a RollingFileAppender?
If yes then how should the xml configuration file look like?
Thanks in advance.
Padmaja Manike
Programmer Analyst
Intelligroup Asia Pvt. Ltd.
3- 9- 22
Hi,
has anyone tested the XMLLayout and have some stylesheets.
/Morten
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
log4j.appender.FILEAPP.File=mylogfile.xml
log4j.appender.FILEAPP.MaxFileSize=100KB
log4j.appender.FILEAPP.MaxBackupIndex=10
# FILEAPP uses a XMLLayout
log4j.appender.FILEAPP.layout=org.apache.log4j.xml.XMLLayout
Hope this helps
-Balaji
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED
Hi,
Here's my log file contents:
so I copy/paste the example from XMLLayout javadocs into this file:
]>
http://jakarta.apache.org/log4j";>
&data;
and copied the "log4j.dtd" into same directory. So my directory now
Try to set
for the appender you're using.
--
Thomas
| -Original Message-
| From: Christian, William [mailto:[EMAIL PROTECTED]]
| Sent: 01 July 2002 18:26
| To: Log4J Users List
| Subject: XMLLayout conversion pattern
|
|
| How do I customize the XML log
Hi,
>
> The issue i am facing is that the log4j.dtd defines the event as
> follows:
>
> category CDATA #REQUIRED
> priority CDATA #REQUIRED
> thread CDATA #REQUIRED
> timestamp CDATA #REQUIRED
> >
>
> Note that the dtd uses "priority" while the
List
Subject: XMLLayout and HTMLLayout !!!
Hi
Can anyone tell me which appender is best suited for HTMLLayout and
XMLLayout. Can we have a HTML or XMLLayout for a RollingFileAppender? If yes
then how should the xml configuration file look like?
Thanks in advance.
Padmaja Manike
Programmer
.loomissayles.framework.lslogging.LSLoggerFactory"
>timestamp="1020341749111" priority="INFO" thread="main">
>
>
>
>category="com.loomissayles.framework.lslogging.LSLoggerFactory"
>timestamp="1020341749111" priority="IN
Hi folks,
I started using log4j recently and have started liking it. I needed a xml
based log output format.
So I used org.apache.log4j.xml.XMLLayout & RollingFileAppender and found
that it is quite good.
However it does not generate well formed xml documents. There is no root tag
and hence th
mas Muller [mailto:[EMAIL PROTECTED]]
| Sent: 01 July 2002 18:45
| To: Log4J Users List
| Subject: RE: XMLLayout conversion pattern
|
|
| Try to set
|
|
|
| for the appender you're using.
|
| --
|
| Thomas
|
|
|
|
| | -Original Message-
| | From: Christian,
I downloaded "jakarta-log4j-1.2.1" sometime in May'02. When i use the
XMLLayout as shown below:
log4j.appender.R=org.apache.log4j.RollingFileAppender
log4j.appender.R.file=MyApp.log
log4j.appender.R.MaxFileSize=1
log4j.appender.R.layout=org.apache.log4j.xml.XMLLayout
I
When I try to load up the following logfile with chainsaw I keep getting null pointer
exceptions..
The exception is as follows:
E:\development\jakarta-log4j-1.2.7\dist\lib>java -cp log4j-1.2.7.jar;..\..\..\xe
rces-1_4_4\xerces.jar org.apache.log4j.chainsaw.Main
[main] DEBUG org.a
The source code for the XMLFileAppener is included with the distribution.
You could edit it I guess this file and rename it or something
(WellFormedXMLFileAppender?) - shouldn't be too hard.
sam
Krishnamurthy, Balaji (MED) Wrote:
>
> Hi folks,
>
> I started using log4j recently and have starte
This is what the javadoc says:
The output of the XMLLayout consists of a series of log4j:event
elements as defined in the log4j.dtd. It does not output a complete
well-formed XML file. The output is designed to be included as an
external entity in a separate file to form a correct XML file
: XMLLayout and well formatted XML documents
This is what the javadoc says:
The output of the XMLLayout consists of a series of log4j:event
elements as defined in the log4j.dtd. It does not output a complete
well-formed XML file. The output is designed to be included as an
external entity in a separate
Do you have an example you can share? Thanks.
-billc
-Original Message-
From: Thomas Muller [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 01, 2002 2:01 PM
To: Log4J Users List
Subject: Correction!! (was: RE: XMLLayout conversion pattern)
Perusing the code you can see that you will have
Never used XMLLayout, but it can't be rocket science:
NB! Not tested!
--
Thomas
| -Original Message-
| From: Christian, William [mailto:[EMAIL PROTECTED]]
| Sent: 01 July 2002 21:17
| To: 'Log4J Users List'
I solved this problem. It appears that chainsaw is expecting logger in place of
category in the XMLLayout output file. By modifying XMLFileHandler like so, I was
able to get it to work correctly.
@@ -115,6 +115,9 @@
mThreadName = aAtts.getValue("t
Hi,
I am trying to use XMLLayout class to format my logs from log4j and my question is in
the complete manual it states that
"... if abc.log is the name of the file where the XMLLayout results go, then the
following file includes it as an external entity:"
Is this a dtd that shou
Hi,
Im using the XMLLayout class - but the timestamp keep appearing in a
Miliseconds foramt.
How do I configure this to show the Date/time format ?
Thanks
DD
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
Hi,
I am playing around with chainsaw and it does not look
like it
recognizes my log file.
I understand that chainsaw expects XMLLayout
compatible output file for
it to be able to parse it.
How do you do that?
Thanks a lot.
Robert
Btw: I am using version which comes with ver 1.2.8 of
log4j
On Fri, 2003-11-28 at 11:42, Robert Augustyn wrote:
> Hi,
> I am playing around with chainsaw and it does not look
> like it
> recognizes my log file.
> I understand that chainsaw expects XMLLayout
> compatible output file for
> it to be able to parse it.
> How do you
Paul,
Thanks for quick response.
No I have no appender configured using XMLLayout.
Where can I find an example? I have looked through the
distribution and
could find nothing.
Chainsaw does not throw an error it says 0 loaded
events when opening
the file.
Thanks a lot.
robert
-Original Message
> No I have no appender configured using XMLLayout.
> Where can I find an example? I have looked through the
> distribution and
> could find nothing.
> Chainsaw does not throw an error it says 0 loaded
> events when opening
> the file.
> Thanks a lot.
> robert
It'
Paul,
Thanks this worked great.
Robert
-Original Message-
From: Paul Smith [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 27, 2003 8:41 PM
To: Log4J Users List
Subject: RE: How to configure log4j to generate
XMLLayout compatible
output.
> No I have no appender configured us
34 matches
Mail list logo