Hello,
I'm not starting ZAP from eclipse, but from console by using the following command:
cd build/zap/
./zap.sh
But I would like to start it in DEBUG mode. Therefore, I changed build/zap/xml/log4j.properties:
log4j.rootLogger=debug,console,R
log4j.appender.R=org.apache.log4j.RollingFileAppender
#to move to dynamically user log file. See Constant.java
# ZAP: rebrand
log4j.appender.R.File=${zap.user.log}/zap.log
log4j.appender.R.MaxFileSize=4096KB
# Keep one backup file
log4j.appender.R.MaxBackupIndex=3
log4j.appender.R.layout=org.apache.log4j.PatternLayout
#log4j.appender.R.layout.ConversionPattern=%d [%-5t] %-5p %c{1} - %m%n
log4j.appender.R.layout.ConversionPattern=%d %-5p %c{1} - %m%n
log4j.logger.org.parosproxy.paros=DEBUG
log4j.logger.org.zaproxy.zap=DEBUG
log4j.logger.org.apache.commons.httpclient=ERROR
log4j.logger.org.parosproxy.paros.core.proxy.ProxyThread=ERROR
log4j.logger.net.htmlparser.jericho=ERROR
log4j.appender.Stdout.threshold=debug
Then I restarted zap, but without success: only the INFO messages are being shown in my console. Any ideas what else do I need to do in order to be able to start zap in debug mode without using eclipse?
Thank you