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 sreenivas velagapudi <sr...@yahoo.com> on 2006/02/19 02:40:36 UTC
How to print request headers and sessin attributes log4j logging
Hi,
Is there any way i can print the request header
messages and all the session attributes through log4j
logging .
when i click any link.
Please help me out.
Thanks
Sreenivas
__________________________________
Meet your soulmate!
Yahoo! Asia presents Meetic - where millions of singles gather
http://asia.yahoo.com/meetic
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org
Re: How to print request headers and sessin attributes log4j
logging
Posted by Jacob Kjome <ho...@visi.com>.
At 09:55 AM 2/20/2006 +0800, you wrote:
>Thanks for the advice, please , can you give me
>example code how can i do this.
>
Look up "Servlet Filter" on Google and see what you come up with. Using
the servlet API is beyond the scope of the Log4j User list. Once you
figure out how to use a Servlet Filter, it will be simple to grab the
request headers and session attributes and log them.
Jake
>Thanks
>Sreenivas
>--- Jacob Kjome <ho...@visi.com> wrote:
>
>> Quoting sreenivas velagapudi
>> <sr...@yahoo.com>:
>>
>> > Hi,
>> > Is there any way i can print the request
>> header
>> > messages and all the session attributes through
>> log4j
>> > logging .
>> > when i click any link.
>> >
>>
>> Sure, use a servlet filter and log whatever you
>> want.
>>
>> Jake
>>
>> > Please help me out.
>> >
>> > Thanks
>> > Sreenivas
>> >
>> >
>> >
>> >
>> >
>> >
>> > __________________________________
>> > Meet your soulmate!
>> > Yahoo! Asia presents Meetic - where millions of
>> singles gather
>> > http://asia.yahoo.com/meetic
>> >
>> >
>> >
>>
>---------------------------------------------------------------------
>> > To unsubscribe, e-mail:
>> log4j-user-unsubscribe@logging.apache.org
>> > For additional commands, e-mail:
>> log4j-user-help@logging.apache.org
>> >
>>
>>
>>
>>
>>
>---------------------------------------------------------------------
>> To unsubscribe, e-mail:
>> log4j-user-unsubscribe@logging.apache.org
>> For additional commands, e-mail:
>> log4j-user-help@logging.apache.org
>>
>>
>
>
>
>
>__________________________________
>Meet your soulmate!
>Yahoo! Asia presents Meetic - where millions of singles gather
>http://asia.yahoo.com/meetic
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
>For additional commands, e-mail: log4j-user-help@logging.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org
Re: How to print request headers and sessin attributes log4j logging
Posted by sreenivas velagapudi <sr...@yahoo.com>.
Thanks for the advice, please , can you give me
example code how can i do this.
Thanks
Sreenivas
--- Jacob Kjome <ho...@visi.com> wrote:
> Quoting sreenivas velagapudi
> <sr...@yahoo.com>:
>
> > Hi,
> > Is there any way i can print the request
> header
> > messages and all the session attributes through
> log4j
> > logging .
> > when i click any link.
> >
>
> Sure, use a servlet filter and log whatever you
> want.
>
> Jake
>
> > Please help me out.
> >
> > Thanks
> > Sreenivas
> >
> >
> >
> >
> >
> >
> > __________________________________
> > Meet your soulmate!
> > Yahoo! Asia presents Meetic - where millions of
> singles gather
> > http://asia.yahoo.com/meetic
> >
> >
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> log4j-user-unsubscribe@logging.apache.org
> > For additional commands, e-mail:
> log4j-user-help@logging.apache.org
> >
>
>
>
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> log4j-user-unsubscribe@logging.apache.org
> For additional commands, e-mail:
> log4j-user-help@logging.apache.org
>
>
__________________________________
Meet your soulmate!
Yahoo! Asia presents Meetic - where millions of singles gather
http://asia.yahoo.com/meetic
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org
Re: How to print request headers and sessin attributes log4j logging
Posted by Jacob Kjome <ho...@visi.com>.
Quoting sreenivas velagapudi <sr...@yahoo.com>:
> Hi,
> Is there any way i can print the request header
> messages and all the session attributes through log4j
> logging .
> when i click any link.
>
Sure, use a servlet filter and log whatever you want.
Jake
> Please help me out.
>
> Thanks
> Sreenivas
>
>
>
>
>
>
> __________________________________
> Meet your soulmate!
> Yahoo! Asia presents Meetic - where millions of singles gather
> http://asia.yahoo.com/meetic
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
> For additional commands, e-mail: log4j-user-help@logging.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org