Agile (MOSC)

MOSC Banner

Implement Logging on the Agile Server in Events or Internal Custom Action PX

edited Jul 31, 2018 5:15PM in Agile (MOSC) 4 commentsAnswered
Hi All,

To implement logging on the Agile server in ICustomAction PX or Events, I have followed below steps.

1. Add appender section to log.xml in <oas-home>/j2ee/home/applications/application/Agile/APP-INF/classes

<appender name="MyPXLog" class="org.apache.log4j.RollingFileAppender">
  <param name="File" value="MyPX.log" />
  <param name="Append" value="true" />
  <param name="MaxFileSize" value="1MB"/>
  <param name="MaxBackupIndex" value="10"/>
  <layout class="org.apache.log4j.PatternLayout">
    <param name="ConversionPattern" value="%d\t%t\t<%c{1}:%p>\t%m\n"/>
  </layout>
</appender>

2. Added log category as well to the log.xml in <oas-home>/j2ee/home/applications/application/Agile/APP-INF/classes

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center