Enable jec/ewsj logging for exchange 2003/2007 modules.

2
When running the ewsj library examples from eclipse you are able to set the log levels by changing the log properties file. i.e. Please change the log4j.properties, log4j.rootLogger=WARN log4j.appender.stdout=org.apache.log4j.ConsoleAppender log4j.appender.stdout.layout=org.apache.log4j.PatternLayout log4j.appender.stdout.layout.ConversionPattern=%5p [%c] %m%n log4j.category.jec.utils.AppLogger=DEBUG, stdout log4j.logger.httpclient.wire=DEBUG, stdout log4j.logger.httpclient=DEBUG, stdout Is it possible to see the output of this log in the mendix log? If so how? Edit: What would happen if i would write it to a file instead of the console? That is, where would it write it to because i can't seem to find the location i specified.It works, it writes it to the server directory and creates the log details that i needed. log4j.rootLogger=WARN log4j.appender.stdout=org.apache.log4j.RollingFileAppender log4j.appender.stdout.File = logs/ExchangeLog.log log4j.appender.stdout.layout=org.apache.log4j.PatternLayout log4j.appender.stdout.layout.ConversionPattern=%5p [%c] %m%n log4j.category.jec.utils.AppLogger=DEBUG, stdout log4j.logger.httpclient.wire=DEBUG, stdout log4j.logger.httpclient=DEBUG, stdout
asked
1 answers
2

Unfortunately they write to the standard out which is usually the console and you can't see this (unless you for example start Mendix from Eclipse). There may be some ways to hack around this but I don't know about them.

answered