java - Log4j properties and log4j.xml -


how actions , exceptions running in project file of log4j.

1 use logger mechanism log exceptions , error file stored in hard disk drive or server location (example : c:\\myproject\logs\mylog.txt)

  1. the logger mechanism im talking usage of log4j in logging exceptions reported in application in separate path.

  2. log4j.jar has placed in lib folder along other related jar files.

useful link : http://www.mkyong.com/struts/struts-log4j-integration-example/


Comments

Popular posts from this blog

Javascript line number mapping -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -