struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "du Plessis, Corneil C" <>
Subject RE: Accessing the Commons Logging Interface
Date Wed, 25 Sep 2002 13:31:00 GMT
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

In your class:
	static private Log log = LogFactory.getLog(MyClass.class);

Corneil du Plessis
Technical Specialist
Internet Development
Retail Channels
Standard Bank
Direct +27 (11) 636-2210
Mobile +27 (83) 442-9221
ICQ# 66747137

-----Original Message-----
From: Tal Rotbart []
Sent: 25 September, 2002 09:47
To: Struts Users Mailing List
Subject: Accessing the Commons Logging Interface

Hi all,

In Struts 1.1b2, how do I access the Commons Logging Interface from withing
a Struts Plug-In?
1. The chapter in the User Guide is still [TO DO]
2. It seems that the "log" static member field from within "ActionServlet"
is not public.
3. I have not found any "getLog" member function anywhere... Seems like a
missing feature...

Any ideas?

Tal Rotbart

To unsubscribe, e-mail:
For additional commands, e-mail:


Disclaimer and confidentiality note

Everything in this e-mail and any attachments relating to the official business of 
Standard Bank Group Limited is proprietary to the company. It is confidential, legally 
privileged and protected by law. Standard Bank does not own and endorse any other content.

Views and opinions are those of the sender unless clearly stated as being that of Standard

The person addressed in the e-mail is the sole authorised recipient. Please notify the sender

immediately if it has unintentionally reached you and do not read, disclose or use the content
in any way. 

Standard Bank can not assure that the integrity of this communication has been maintained
that it is free of errors, virus, interception or interference.


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message