You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Ashish Kulkarni <ku...@yahoo.com> on 2002/04/11 22:50:36 UTC

Help to configure Log4j with example

Hi,
i am new to this log4j, i just downloaded
log4j1.2beta4 and was trying to figure how to use it
in my application.
I am building an intranet site using jsp, servlets,
and beans, 
i want to log the error, info, and debug messages
generated from java classes
can anyone send me some java code which shows how
log4j has been used, i would like to have the output
from log4j in XML format.
i read the manual and was not able to figure out how
to make this thing work, also i read the documentation
with same result.
i really need some advice in lehman language to put
this thing working ASAP

Ashish 

__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: Help to configure Log4j with example

Posted by Ashish Kulkarni <ku...@yahoo.com>.
Hi David,
Thanx for the mail, but 
The attachment did not come through, can u please
resend the attachment,
can also send a CC to my other account as some times i
dont get attachements on yahoo

kulkarni_ash@hotmail.com

Ashish
--- Dave Bender <da...@benders-of-edina.com> wrote:
> I had the same frustrations. The manual is a nice
> article, but it's not easy
> to get started using the program. When I saw your
> post, I whipped together
> the attached HTML document, which should help out
> you and anyone else who's
> just getting started.
> 
> I'm not an expert with the package, and I haven't
> had a second set of eyes
> look over this simple how-to, but if there are other
> eyes there, please feel
> free to post any corrections.
> 
> David Bender
> dave@benders-of-edina.com
> 
> 
> -----Original Message-----
> From: Ashish Kulkarni
> [mailto:kulkarni_ash13@yahoo.com]
> Sent: Thursday, April 11, 2002 3:51 PM
> To: Log4J Users List
> Subject: Help to configure Log4j with example
> 
> 
> Hi,
> i am new to this log4j, i just downloaded
> log4j1.2beta4 and was trying to figure how to use it
> in my application.
> I am building an intranet site using jsp, servlets,
> and beans,
> i want to log the error, info, and debug messages
> generated from java classes
> can anyone send me some java code which shows how
> log4j has been used, i would like to have the output
> from log4j in XML format.
> i read the manual and was not able to figure out how
> to make this thing work, also i read the
> documentation
> with same result.
> i really need some advice in lehman language to put
> this thing working ASAP
> 
> Ashish
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Tax Center - online filing with TurboTax
> http://taxes.yahoo.com/
> 
> --
> To unsubscribe, e-mail:  
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
> 
> 
> > --
> To unsubscribe, e-mail:  
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>


__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: Help to configure Log4j with example

Posted by Dave Bender <da...@benders-of-edina.com>.
I had the same frustrations. The manual is a nice article, but it's not easy
to get started using the program. When I saw your post, I whipped together
the attached HTML document, which should help out you and anyone else who's
just getting started.

I'm not an expert with the package, and I haven't had a second set of eyes
look over this simple how-to, but if there are other eyes there, please feel
free to post any corrections.

David Bender
dave@benders-of-edina.com


-----Original Message-----
From: Ashish Kulkarni [mailto:kulkarni_ash13@yahoo.com]
Sent: Thursday, April 11, 2002 3:51 PM
To: Log4J Users List
Subject: Help to configure Log4j with example


Hi,
i am new to this log4j, i just downloaded
log4j1.2beta4 and was trying to figure how to use it
in my application.
I am building an intranet site using jsp, servlets,
and beans,
i want to log the error, info, and debug messages
generated from java classes
can anyone send me some java code which shows how
log4j has been used, i would like to have the output
from log4j in XML format.
i read the manual and was not able to figure out how
to make this thing work, also i read the documentation
with same result.
i really need some advice in lehman language to put
this thing working ASAP

Ashish

__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>



RE: Help to configure Log4j with example

Posted by Gautham <ga...@lightsurf.com>.
Oh yes! I think getting a simple User manual makes a lot of lives easier. I
can still recollect the trouble I had in my initial days of Log4j usage.
I hope someone adds it to the official documents list and opens it for
public usage.

-----Original Message-----
From: Ashish Kulkarni [mailto:kulkarni_ash13@yahoo.com]
Sent: Thursday, April 11, 2002 1:51 PM
To: Log4J Users List
Subject: Help to configure Log4j with example


Hi,
i am new to this log4j, i just downloaded
log4j1.2beta4 and was trying to figure how to use it
in my application.
I am building an intranet site using jsp, servlets,
and beans,
i want to log the error, info, and debug messages
generated from java classes
can anyone send me some java code which shows how
log4j has been used, i would like to have the output
from log4j in XML format.
i read the manual and was not able to figure out how
to make this thing work, also i read the documentation
with same result.
i really need some advice in lehman language to put
this thing working ASAP

Ashish

__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>