|
What's your problem actually ? I tried to use Log4 in my project using
struts as well and I didn't get any, I just out my 'log4j.properties' in
the classpath and put some 'Category' variables in my code like this
public class ListBillerAction extends ActionBase
{
private static Category cat = Category.getInstance("Main.Biller"); public ActionForward perform(ActionServlet servlet, ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) { ListBillerSearchCriteriaForm criteriaForm =
(ListBillerSearchCriteriaForm) form;
BillerSearcher billerSearcher; Screen dataScreen = null; if (buttonPressed(request,
"search")) {
if (cat.isInfoEnabled()) cat.info("!!!!!! Button Search has been pressed !!!!!!"); ....
And it works great for me !
Hope it helps,
Thierry
Thierry Cools Senior Java Developer S1 Brussels Kleine Kloosterstraat, 23 1932 st. Stevens-Woluwe Belgium Tel : +32 2 200 43 82 Email : [EMAIL PROTECTED]
|
- Has any one used struts and log4j successfully? Sundar @eSaravana
- Re: Has any one used struts and log4j successfu... Mark Balster
- RE: Has any one used struts and log4j successfu... Martin J. La Jeunesse
- Re: Has any one used struts and log4j succe... Mark Balster
- Re: Has any one used struts and log4j s... Craig R. McClanahan
- RE: Has any one used struts and log4j successfu... Thierry Cools
- RE: Has any one used struts and log4j successfu... Martin J. La Jeunesse
- Re: Has any one used struts and log4j successfu... Puneet Vardhan

