How can we integrate log4j in Struts2 application?
Answers
Answered by
0
Project Directory. Review the final project structure. Project Dependencies. Declares Struts 2 and log4j dependencies : log4j.properties. Create a log4j properties file, and put it into the resources folder, refer to step #1. Struts 2 Action and Logging. Struts 2 Configuration. Demo. Download Source Code. References
Similar questions