How to Configure roll-up logs for ASMM.

How to Configure roll-up logs for ASMM.

book

Article ID: KB0084924

calendar_today

Updated On:

Products Versions
TIBCO ActiveSpaces -
Not Applicable -

Description

Description:
A mechanism in the asmm browser to control and configure the roll up logs.

Resolution

Locate the log4j.properties installed under the following folder:

- $AS_HOME/asmm/war/WEB-INF/classes/log4j.properties

You can control the log4j properties by adding a RollingFileAppender for ASMM to be like this:

===

log4j.rootLogger=WARN, Default, rollingFile

log4j.appender.rollingFile=org.apache.log4j.RollingFileAppender
log4j.appender.rollingFile.File=asmm.log
log4j.appender.rollingFile.MaxFileSize=1000KB
log4j.appender.rollingFile.MaxBackupIndex=9
log4j.appender.rollingFile.layout=org.apache.log4j.PatternLayout
log4j.appender.rollingFile.layout.ConversionPattern=[%d{yyyy-MM-dd HH:mm:ss:SSS}][%p][%c][%M][%L]: %m%n

===

Issue/Introduction

How to Configure roll-up logs for ASMM.