Hello Everyone,
Reposting the same question. We have not been able to find a solution
ourselves yet... Is there any other information I need to provide to better
identify the problem? Any pointers deeply appreciated.
Best,
Arifi
- Original Message ---
I'm looking forward to the arrival of this feature. Now that 1.3 is
available, does anyone have any rough ideas when this feature will
appear?
In the meantime, these links from a while ago offer a workaround which
will help tide us over:
http://marc.theaimsgroup.com/?l=log4j-user&m=1079384419244
Dave,
Are you referring to:
http://marc.theaimsgroup.com/?l=log4j-user&m=111401761531451&w=2
If so it appears that you are trying to use the PatternLayout class to
render a custom format xml document?
The XMLLayout class pointed out by Hakan, renders log events as xml
conforming to the log4j.d
Quoting Jitendra Kharche <[EMAIL PROTECTED]>:
>
> Hi Jacob,
>
> I appreciate your response. Sorry for the delay to reply back since I
> was out of the town for last 4 days.
> I am sorry, your solution does not fit my requirement as it is. But it
> gave me a clue to do it the way I want.
>
> I did
On Mon, 2005-04-25 at 12:35 +0100, Hakan Koseoglu wrote:
> > Can I write the log in an xml format using Log4j?
> > If yes, please provide a simple example configuration or necessary
> > steps.
> You can always use org.apache.log4j.xml.XMLLayout.
Except that an xml file can't have xml markup in an
Never mind. I got it working.
Jitendra
-Original Message-
From: Jitendra Kharche [mailto:[EMAIL PROTECTED]
Sent: Monday, April 25, 2005 6:12 PM
To: Log4J Users List
Subject: RE: How to specify log file path using env variable
Hi Jacob,
I appreciate your response. Sorry for the dela
Hi Jacob,
I appreciate your response. Sorry for the delay to reply back since I
was out of the town for last 4 days.
I am sorry, your solution does not fit my requirement as it is. But it
gave me a clue to do it the way I want.
I did it as follows:
1. Set a system environment variable MY_APP=C:\
> Can I write the log in an xml format using Log4j?
> If yes, please provide a simple example configuration or necessary
> steps.
You can always use org.apache.log4j.xml.XMLLayout.
Configure it in your log4j.properties/xml file like
logj.appender.aaa.logfile.layout=org.apache.log4j.xml.XMLLayout.
Hello List,
Can I write the log in an xml format using Log4j?
If yes, please provide a simple example configuration or necessary
steps.
Regards,
Jitendra