Right on. Check this out:

http://jakarta.apache.org/taglibs/doc/log-doc/intro.html

-----Original Message-----
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 16, 2004 8:14 AM
To: Log4J Users List
Subject: RE: looking for guidance - logging in JSPs


Hi,
Would definitely add logging to the tags themselves, that's almost a
no-brainer.  What do you lose by doing that?  Nothing, I think.

As to whether you want to add logging to the JSPs themselves: it does
clutter them and make them have more Java, thereby reducing the EUD
potential.  However, logging is usually worth it.  What if you write a
logging JSP tag, e.g.
<mytaglib:log message="theMessage" level="debug" />
?  Is that a good solution?  Come to think of it, maybe something like
this already exists: check Jakarta Taglibs.

Yoav Shapira
Millennium Research Informatics


>-----Original Message-----
>From: Lutz Michael [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, September 15, 2004 5:15 PM
>To: Log4J Users List
>Subject: looking for guidance - logging in JSPs
>
>
>
>My organization has made a stance to minimize the Java code in our
JSPs,
>specifically we only use custom tags and we only use them if necessary.
>
>Q: Given this position (which is hopefully realistic), in your opinion
(and
>experience) would you consider there a need to add logging and tracing
>calls
>to the custom tags?  In other words I'm trying to understand if it's
>worthwhile adding logging calls to JSP pages when the intent is to keep
JSP
>pages thin outside of custom tag usage.
>
>Thanks in advance for chiming in.
>
>Mike
>
>_______________________________________________
>Siemens Medical Solutions Health Services
>Michael Lutz
>Software Engineer, Soarian Common Components
>51 Valley Stream Parkway, Malvern, PA 19355
>Office / Voice Mail    +01 610-219-8613
>Cell                   +01 610-952-2289
>Home Office            +01 610-989-3623
>Fax                    +01 610-219-4004
>E-mail <mailto:[EMAIL PROTECTED]>
>_______________________________________________
>
>
>-----------------------------------------------------------------------
----
>----
>This message and any included attachments are from Siemens Medical
>Solutions
>USA, Inc. and are intended only for the addressee(s).
>The information contained herein may include trade secrets or
privileged or
>otherwise confidential information.  Unauthorized review, forwarding,
>printing,
>copying, distributing, or using such information is strictly prohibited
and
>may
>be unlawful.  If you received this message in error, or have reason to
>believe
>you are not authorized to receive it, please promptly delete this
message
>and
>notify the sender by e-mail with a copy to
>[EMAIL PROTECTED]
>
>Thank you
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential,
proprietary and/or privileged.  This e-mail is intended only for the
individual(s) to whom it is addressed, and may not be saved, copied,
printed, disclosed or used by anyone else.  If you are not the(an)
intended recipient, please immediately delete this e-mail from your
computer system and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to