• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • salvin francis
  • fred rosenberger

oc4j, log4j and struts

Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a simple aplication and i want to use Struts logging feature using commons-logging and log4j on oc4j container. I think that log4j is running correctly but i dont know how to turn on STRUTS logging (I have read that struts can log some useful information: http://javaboutique.internet.com/tutorials/Struts2/jsp-pages.html) I have log4j-1.2.8.jar and commons-logging.jar in web-inf\lib. Do i need some configuration of struts to start logging?
Posts: 15630
Mac Android IntelliJ IDE Eclipse IDE Spring Debian Java Ubuntu Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Assuming you are using Struts 1.1, you will use the Jakarta Commons Logging framework configuration. See the following for more details:

If we don't do the shopping, we won't have anything for dinner. And I've invited this tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
    Bookmark Topic Watch Topic
  • New Topic