file - log4j:ERROR setFile(null,true) call failed.java.io.FileNotFoundException: -
i'm getting below error while compiling application
log4j:error setfile(null,true) call failed.java.io.filenotfoundexception:\gel\ms\ex\ms.log (the system cannot find path specified)
below log4j config file:
#root log level log4j.rootcategory=debug, r log4j.logger.java.sql=debug log4j.logger.com.ibatis=debug # first type of log, output file log4j.appender.r=org.apache.log4j.rollingfileappender log4j.appender.r.file=/gel/ms/ex/ms.log log4j.appender.r.maxfilesize=5000kb log4j.appender.r.maxbackupindex=3 log4j.appender.r.layout=org.apache.log4j.patternlayout log4j.appender.r.layout.conversionpattern=%d [%40c] %5p - %m%n
and project folder hierachy
ms(project name)
java resource
webcontext
2.a -meta-inf
2.b -web-inf
please advise. thanks
for quick solution, set absolute path.
Comments
Post a Comment