Sure, create your own Layout class! :) Take a look at the source code
to XMLLayout to give you some ideas, but it's really very easy.
cheers,
Paul Smith
On Tue, 2003-10-07 at 21:56, Eyal Yekutiel wrote:
> Hi ,
>
> I am interested in creating xml format log files.
> As muc
Hi ,
I am interested in creating xml format log files.
As much as I understand from you doc and samples, the messages are formatted according
your dtd (log4j.dtd ).
Is there any way of formating a log file messages according to my dtd ?
thanks
Eyal
gzilla/show_bug.cgi?id=21388
XMLLayout doesn't handle non-String values in MDC
Summary: XMLLayout doesn't handle non-String values in MDC
Product: Log4j
Version: 1.3alpha
Platform: All
URL: http://http://cvs.apache.org/vie
NOT REPLY [Bug 18246] - Patch: Add more MDC
> support to XMLLayout and PatternLayout
>
>
> DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
> RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
> <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18246>.
>
gzilla/show_bug.cgi?id=18246
Patch: Add more MDC support to XMLLayout and PatternLayout
--- Additional Comments From [EMAIL PROTECTED] 2003-03-26 06:35 ---
These changes and test cases look good to me, and I have committed them to
cvs. A couple of issues to followup on:
1) I would prefe
gzilla/show_bug.cgi?id=18246
Patch: Add more MDC support to XMLLayout and PatternLayout
--- Additional Comments From [EMAIL PROTECTED] 2003-03-24 07:10 ---
I have applied the source patches, and they look good to me. I will install
the test cases tomorrow, test and review some more, an
gzilla/show_bug.cgi?id=18246
Patch: Add more MDC support to XMLLayout and PatternLayout
--- Additional Comments From [EMAIL PROTECTED] 2003-03-22 10:42 ---
Created an attachment (id=5465)
Series of Patch files, plus some additional new files for additional MDC s
gzilla/show_bug.cgi?id=18246
Patch: Add more MDC support to XMLLayout and PatternLayout
Summary: Patch: Add more MDC support to XMLLayout and
PatternLayout
Product: Log4j
Version: 1.3alpha
Platform: Other
OS/Version:
gzilla/show_bug.cgi?id=16170
NPE in XMLLayout
[EMAIL PROTECTED] changed:
What|Removed |Added
Status|NEW |RESOLVED
Reso
gzilla/show_bug.cgi?id=16170
NPE in XMLLayout
Summary: NPE in XMLLayout
Product: Log4j
Version: 1.2
Platform: PC
OS/Version: Windows NT/2K
Status: NEW
Severity: Normal
Priority: Other
Component:
ly
> > required just once and having the version attribute in each record is
> > highly redundant.
> >
> > An alternative solution is to add a version attribute in the
> > element in *log4j.dtd*, document this attribute in
> > XMLLa
the stylesheet in
the beggining:
Michael Agroskin
(Currently unemployed, so no credentials here)
- Original Message -
From: "Rob Mitchell" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, May 03, 2002 8:57 AM
Subject: Using browser to view XMLLayout log file?
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
solution is to add a version attribute in the
> element in *log4j.dtd*, document this attribute in XMLLayout javadoc and let
> the user fill it out for her data.
>
>
>
> ]>
>
> http://jakarta.apache.org/log4j/";>
>&data;
>
>
>
*log4j.dtd*, document this attribute in XMLLayout javadoc and let
the user fill it out for her data.
]>
http://jakarta.apache.org/log4j/";>
&data;
This requires a little work by the user. Moreover, the approach can be applied
to earlier data generated by log4j 1.2c1 and earlier.
s List'
> Subject: RE: XMLLayout and throwable element
>
>
> I think it is a good idea. The output will be readable.
> -Mark
>
> > -Original Message-
> > From: Ceki Gülcü [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, April 25, 2002 1:52 PM
>
I think it is a good idea. The output will be readable.
-Mark
> -Original Message-
> From: Ceki Gülcü [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, April 25, 2002 1:52 PM
> To: [EMAIL PROTECTED]
> Subject: XMLLayout and throwable element
>
>
>
>
> XMLLa
I like that idea. It would make the XML file easier to read I
think.
-Original Message-
From: Ceki Gülcü [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 25, 2002 4:52 PM
To: [EMAIL PROTECTED]
Subject: XMLLayout and throwable element
XMLLayout currently does not output line
XMLLayout currently does not output line separators when outputting the
element. Example output:
I am proposing the following instead which includes line separators:
Is this OK for everyone?
--
Ceki
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional comma
19 matches
Mail list logo