XMLLayout

2002-10-01 Thread Sundararaman, Anand
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

XMLLayout & Chainsaw

2002-08-12 Thread Chris Hane
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

XMLLayout/Chainsaw

2002-11-11 Thread Graham Mead
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

Example for XMLLayout.

2001-08-13 Thread subhashini
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

XMLLayout conversion pattern

2002-07-01 Thread Christian, William
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

XMLLayout conversion pattern

2002-07-01 Thread Christian, William
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

Re: XMLLayout & Chainsaw

2002-08-12 Thread Chris Hane
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

RE: XMLLayout & Chainsaw

2002-08-12 Thread Christian, William
]] 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

Bug in XMLLayout

2002-08-19 Thread sanjayrajsoni
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

XMLLayout and HTMLLayout !!!

2003-06-05 Thread Padmaja Manike
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

XMLLayout and styleheet

2003-08-18 Thread Morten Haavaldsen
Hi, has anyone tested the XMLLayout and have some stylesheets. /Morten - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Example for XMLLayout.

2001-08-13 Thread Krishnamurthy, Balaji (MED)
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

Viewing XMLLayout log file?

2002-05-02 Thread Rob Mitchell
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

RE: XMLLayout conversion pattern

2002-07-01 Thread Thomas Muller
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

AW: Bug in XMLLayout

2002-08-20 Thread Holger Brands
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

RE: XMLLayout and HTMLLayout !!!

2003-06-08 Thread Jim Moore
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

Re: Viewing XMLLayout log file?

2002-05-03 Thread Ceki Gülcü
.loomissayles.framework.lslogging.LSLoggerFactory" >timestamp="1020341749111" priority="INFO" thread="main"> > > > >category="com.loomissayles.framework.lslogging.LSLoggerFactory" >timestamp="1020341749111" priority="IN

XMLLayout and well formatted XML documents

2001-07-24 Thread Krishnamurthy, Balaji (MED)
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

Correction!! (was: RE: XMLLayout conversion pattern)

2002-07-01 Thread Thomas Muller
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,

Incompatibility between Log4j DTD and XMLLayout

2002-08-14 Thread sanjayrajsoni
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

chainsaw not reading XMLLayout log file

2003-02-03 Thread Beleznay, Dave
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

Re: XMLLayout and well formatted XML documents

2001-07-25 Thread Sam Newman
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

Re: XMLLayout and well formatted XML documents

2001-07-25 Thread Ceki Gülcü
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

RE: XMLLayout and well formatted XML documents

2001-07-25 Thread Krishnamurthy, Balaji (MED)
: 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

RE: Correction!! (was: RE: XMLLayout conversion pattern)

2002-07-01 Thread Christian, William
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

RE: Correction!! (was: RE: XMLLayout conversion pattern)

2002-07-02 Thread Thomas Muller
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'

RE: chainsaw not reading XMLLayout log file

2003-02-06 Thread Beleznay, Dave
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

Newbie/Dummy Question on XMLLayout and log4j

2003-11-19 Thread Caitriona Doris (AT/EEI)
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

How to configure the Timestamp using the XMLLayout class ?

2001-11-14 Thread adi Ekstein
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]>

How to configure log4j to generate XMLLayout compatible output.

2003-11-27 Thread Robert Augustyn
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

Re: How to configure log4j to generate XMLLayout compatible output.

2003-11-27 Thread Paul Smith
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

RE: How to configure log4j to generate XMLLayout compatible output.

2003-11-27 Thread Robert Augustyn
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

RE: How to configure log4j to generate XMLLayout compatible output.

2003-11-27 Thread Paul Smith
> 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'

RE: How to configure log4j to generate XMLLayout compatible output.

2003-11-27 Thread Robert Augustyn
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