On Fri, 13 Apr 2001, Natra, Uday wrote:

> Hi All,
> The Logging Mechanism provided in the Struts framework is accessible to the
> Java Components that have access to ActionServlet instance. Struts does not
> define the Logging mechanism for the Components that are Isolated from the
> Struts framework but are part of the application being developed using
> struts framework. Can anybody tell me how they solved this problem or how
> they implemented the Logging Mechanism ??
> 
> Thanks,
> Uday.
> 

One approach to this you should investigate is the Log4J framework, which
is also available at the Jakarta web site
(http://jakarta.apache.org/log4j).

I'm a little hesitant to mandate a particular logging technology in the
framework itself (at least until the upcoming Java standard for logging
APIs is completed -- religious wars are nothing compared to the emotions
that logging technologies can raise :-).

Craig


Reply via email to