where are the log files saved in axis2 webservice
Posted
by KItis
on Stack Overflow
See other posts from Stack Overflow
or by KItis
Published on 2010-05-30T16:52:52Z
Indexed on
2010/05/30
17:32 UTC
Read the original article
Hit count: 313
i have put log4j.properties file into WEB-INF/classes folder in my axis 2 webservice. now i can see logs been printed on console. but i have also put file appender. but i can not find the log file anywhere. could someone help me to find a solution for this problem.
log4j.rootLogger=DEBUG, CA, FA
#Console Appender log4j.appender.CA=org.apache.log4j.ConsoleAppender log4j.appender.CA.layout=org.apache.log4j.PatternLayout log4j.appender.CA.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n
#File Appender log4j.appender.FA=org.apache.log4j.FileAppender log4j.appender.FA.File=ws.log log4j.appender.FA.layout=org.apache.log4j.PatternLayout log4j.appender.FA.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n
# Set the logger level of File Appender to WARN log4j.appender.FA.Threshold = WARN
© Stack Overflow or respective owner