Wednesday, December 11, 2013

How to get WDK logs: (on APP SERVER MACHINE)

By default, the log4j.properties (….found in <webtop_home>\WEB-INF\classes) will contain..

log4j.rootCategory=WARN, file, stdout
log4j.category.MUTE=OFF

log4j.appender.stdout.threshold=ERROR
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} %5p [%t] %c - %m%n


log4j.appender.file.File=${user.dir}/documentum/logs/documentum.log

log4j.appender.file.MaxFileSize=10MB
log4j.appender.file.MaxBackupIndex=10
log4j.appender.file.Append=false
log4j.appender.file=org.apache.log4j.RollingFileAppender
log4j.appender.file.layout=org.apache.log4j.PatternLayout
log4j.appender.file.layout.ConversionPattern=%d{ABSOLUTE} %5p [%t] %c - %m%n

…we can leave it as such. The WDK log is the documentum.log.

Note: This will need an app server restart.


3 comments: