Purpose

Saving Dashboard Log in the file while CASTAD.war is deployed in Websphere

Applicable in CAST Version
Release
Yes/No
8.3.x(tick)
8.2.x(tick)
8.1.x(tick)
8.0.x(tick)
7.3.x(tick)
7.2.x(tick)
7.0.x(tick)
Applicable RDBMS
RDBMS
Yes/No
Oracle Server(tick)
Microsoft SQL Server(tick)
CSS2(tick)
CSS1(tick)
Details

To get data in WebSphere log, You need to set TRUE two options 1) logger.output.console  2) logger.output.file  in CAST Web.xml file as  we send the output to the JVM console.

  <context-param>                               <param-name>logger.output.console</param-name>
                               <param-value>true</param-value>
                               <description>Outputs logs to JVM console</description>
                </context-param>
                <context-param>
                               <param-name>logger.output.file</param-name>
                               <param-value>true</param-value>
                               <description>Outputs logs to file</description>
                </context-param>

             

CAST Version 6.4 and Below:

To get the path of logs, it depend on the Websphere.If started as given account and always started as a service, you can get the log path in account HOME. And if Websphere is started manually then in this case you need to check the directory of user who has started Websphere.

CAST version 7.0 onwords:

 To get the path of logs, Activate the below Tag in web.xml of CASTAD.war

< context-param>
                                 <param-name>cast.web.home</param-name>
                                 <param-value>[C:\castweb]</param-value>
                                 <description>the path to home repository of cast web</description>
                 </context-param>

In this case CASTAD log will be stored in C:\castweb folder.

Notes/comments


Related Pages