Page tree
Skip to end of metadata
Go to start of metadata
Purpose

This page summarizes the information about different log files and also differentiates between different type of messages.

The information in this page include the following

Applicable in CAST Version
Release
Yes/No
8.3.x(tick)
Applicable RDBMS
RDBMS
Yes/No
Oracle Server(tick)
Microsoft SQL Server(tick)
CSS(tick)

Logs and their Locations

This section provides information about the generated log file paths of CAST components/features.

 Default Paths for Shared Locations

DescriptionNameDefault Path (8.3.x)
Root path of shared configuration files and directoriesCastAllUsersPath%AllUsersProfile%\Application Data\CAST/CAST\<CASTVersion>
Root path of temporary files.CastCurrentUserTempPath%Temp%\CAST\CAST\<CASTVersion>
CAST Log Root PathCastLogRootPathC:\ProgramData\CAST\CAST\Logs
Source code delivery folder root pathDeliveryFolderC:\CASTMS\Delivery
Source code deployment folder root pathDeploymentFolderC:\CASTMS\Deploy
LISA folder locationLISA C:\ProgramData\CAST\CAST\CASTMS\LISA
LTSA folder locationLTSAC:\ProgramData\CAST\CAST\CASTMS\LTSA
Log root locationLogRootC:\ProgramData\CAST\CAST\Logs
Extension root locationExtensionFolderC:\ProgramData\CAST\CAST\Extensions\

For information about, how to modify the default locations for logs, see Configure AIP Node storage folder locations - optional - v. 1.x

To know about how to modify the Delivery,Deploy,LISA,LTSA, LogRoot location, see Set-up a file repository for your analysis data

For information on how to get the application logs from the console (delivery, analysis, or snapshot), please see this page:  Application - Logs

You can also see this page for details on the AIP Console logging mechanisms:  AIP Console - Logging mechanisms

Components and log file locations

[DateTime]YYYYMMDDhhmmss

Components/FeaturesLog file locations and names (8.3.x)

Setup

%TEMP%\CAST\CAST\SetupCast.log

Server Manager

[CastLogRootPath]\ServMan\ServMan-<Date>-<Time>.Castlog

CSS Upgrade Wizard

[WorkingFolder]\LogUpgrade.txt

CAST Update Tool (CUT)

[CastCurrentUserTempPath]\CAST\CAST\<version>\CUT\

AIC Portal

AIC Portal log file for 8.3

DELIVERY\logs\AICPortal.castlog2

JNLP Installer log file for 8.3

%TEMP%/CAST-jnlpInstaller<id>.CastLog2

Delivery Manager Tool

DMT log for 8.3

C:\ProgramData\CAST\CAST\Logs\DMT[SequenceNumber].CastLog2

Extraction Log for 8.3

DELIVERY\DATA\{[ApplicationUUID]}\{[VersionUUID]}\{[PackageUUID]}\extraction.castLog2

Scan Log for 8.3

DELIVERY\DATA\{[ApplicationUUID]}\{[VersionUUID]}\{[PackageUUID]}\scan.castLog2

Discovery Log for 8.3

DELIVERY\DATA\{[ApplicationUUID]}\{[VersionUUID]}\{[PackageUUID]}\discovery.castLog2

Selection Log for 8.3

DELIVERY\DATA\{[ApplicationUUID]}\{[VersionUUID]}\{[PackageUUID]}\selection.castLog2

Validation Log for 8.3

DELIVERY\DATA\{[ApplicationUUID]}\{[VersionUUID]}\{[PackageUUID]}\validation.castLog2

Remediation Log for 8.3

DELIVERY\DATA\{[ApplicationUUID]}\{[VersionUUID]}\{[PackageUUID]}\remediation.castLog2



CAST Management Studio (CMS) Setup

[CastCurrentUserTempPath]\cast_caip_setup_cmd.log

CAST Management Studio (CMS)

 [CastLogRootPath]\CAST-MS-<Date>-<Time>.log.txt

Also, run below query in your management base to get an idea what all processes has been run in the management base:

SELECT distinct log_date, log_context
FROM <Your Managemement Database>.tasklog_history
where log_context like '%CAST-MS%.log.txt%'

CMS Application Delivery

By default, the Delivery log files are in [CastLogRootPath]\[ApplicationName]. If the user has defined the Log path in CAST MS, the delivery log will be in [LogPathDefinedInCASTMS]\[ApplicationName].

Accept Delivery for 8.3

[CastLogRootPath]\[ApplicationName]\DmtValidate-[Date] -[Time].castlog2

Set as current version for 8.3

[CastLogRootPath]\[ApplicationName]\DmtDeploy-[Date] -[Time].castlog2

Reject Delivery for 8.3

[CastLogRootPath]\[ApplicationName]\DmtReopen-[Date] -[Time].castlog2

Update CAST Knowledge Base

For Snapshot - [CastLogRootPath]\[ApplicationName]\Take_a_snapshot_of_XXXX\<Name Of the KB Update Tool>-[Date]-[Time].log.txt

For Analysis - [CastLogRootPath]\[ApplicationName]\Run_Analysis_only_XXXX\<Name Of the KB Update Tool>-[Date]-[Time].log.txt

Universal Importer

For Snapshot - [CastLogRootPath]\[ApplicationName]\Take_a_snapshot_of_XXXX\<Name Of the Universal Importer Tool>-[DateTime].castlog

For Analysis - [CastLogRootPath]\[ApplicationName]\Run_Analysis_only_XXXX\<Name Of the Universal Importer Tool>-[DateTime]_sql.log.txt

[CastLogRootPath]\DLMuuid_CMS.castlog

Run Analyzer

For Snapshot - [CastLogRootPath]\[ApplicationName]\Take_a_snapshot_of_XXXX\My Source file based execution unit_src[ID]-[DateTime].castlog

For Analysis - [CastLogRootPath]\[ApplicationName]\Run_Analysis_only_XXXX\My Source file based execution unit_src[ID]-[DateTime].castlog

AMT Memory profiling

Till 8.3.x, x<3 : [CastCurrentUserTempPath]\CAST\CAST\8.3\AMT_memory.log 

Till 8.3.x, x>2 : [CastLogRootPath]\MainLog\AMT_memory.log

Run Extensions at Application Level

For Snapshot - [CastLogRootPath]\[ApplicationName]\Take_a_snapshot_of_XXXX\ApplicationExtensions-[DateTime].castlog

For Analysis - [CastLogRootPath]\[ApplicationName]\Run_Analysis_only_XXXX\ApplicationExtensions-[DateTime].castlog

Run Metrics Calculation

For Snapshot - [CastLogRootPath]\[ApplicationName]\Take_a_snapshot_of_XXXX\MA_My Source file based execution unit_src[ID]-[DateTime].castlog

For Analysis - [CastLogRootPath]\[ApplicationName]\Run_Analysis_only_XXXX\MA_My Source file based execution unit_src[ID]-[DateTime].castlog

Run Copy Paste Metrics Calculation

C:\ProgramData\CAST\CAST\CASTMS\LISA\[ApplicationUUID]\NaturalMetrics.datatransfer

Run Data Flow Security Analysis

C:\ProgramData\CAST\CAST\CASTMS\LISA\[ApplicationUUID]\Src[ID]\SecurityAnalyser.log 

8.3.x, x>12 : [CastLogRootPath]\[ApplicationName]\Take_a_snapshot_of_XXXX\SecurityAnalyser.log

Run Data Flow Security Analysis - secondary

C:\ProgramData\CAST\CAST\CASTMS\LISA\[ApplicationUUID]\Src[ID]\SecurityAnalyser.log.secondary

8.3.x, x>12 : No log

Run runSecurityAnalyzer.bat located in [CastCurrentUserTempPath]\LISA/[ApplicationUUID]\Src[ID]

C:\ProgramData\CAST\CAST\CASTMS\LISA\[ApplicationUUID]\Src[ID]\SecurityAnalyser.log.secondary

[CastLogRootPath]\[ApplicationName]\Take_a_snapshot_of_XXXX\My Source file based execution unit_src[ID]-[DateTime].castlog

8.3.x, x>0 : No batch file generation

Run CSV Generation

[CastLogRootPath]\[ApplicationName]\Take_a_snapshot_of_XXXX\Run_CSV_generation-[Date]-[Time].castlog

Compute Snapshot

[CastLogRootPath]\[ApplicationName]\Take_a_snapshot_of_XXXX\DssEngine-[Date]-[Time].castlog

Execution Summary

For Snapshot - [CastLogRootPath]\[ApplicationName]\Take_a_snapshot_of_XXXX\CAST_MainTask_SummaryLog-[Date]-[Time].txt

For Analysis - [CastLogRootPath]\[ApplicationName]\Run_Analysis_only_XXXX\CAST_MainTask_SummaryLog-[Date]-[Time].txt

Transaction Configuration Center (TCC)

[CastLogRootPath]\TCC\TCC-[Date]-[Time].log.txt

Architecture Checker (AC)

[CastLogRootPath]\ArchiChecker\AC-[Date]-[Time].log.txt

Report Center

[CastLogRootPath]\RCenter.castlog

Dynamic Link Manager (7.3 and higher)

For Snapshot - [CastLogRootPath]\[ApplicationName]\Take_a_snapshot_of_XXXX\DynamicLinkManager-[Date]-[Time].txt

For Analysis - [CastLogRootPath]\[ApplicationName]\Run_Analysis_only_XXXX\DynamicLinkManager-[Date]-[Time].txt

CastStorageServices

C:\Program Files\CAST\CASTStorageService\db_data\pg_log (On Windows)

Report Generator

C:\Users\<username>\AppData\Local\CAST\ReportGenerator

Enlighten

C:\ProgramData\CAST\CAST\Logs\Enlighten\Enlighten-{Date]-[Time].castlog

Application Analytics Dashboard

<Tomcat_Installation_dir>\webapps\<AAD WAR>\logs\Restapi.log

RestAPI

<Tomcat_Installation_dir>\webapps\<RestAPI WAR>\logs\Restapi.log
SHELL pre-processor%ProgramData%\CAST\CAST\Extensions\com.castsoftware.shell.version\Configuration\Languages\SHELL\prepro

AIP Console

AIP Node logs here - <AIP Console installation folder>\AipNode\data\logs

cmsapi.log

cmsapi_error.log

External logs folder inside the Node installation folder will have logs specific to the task that has failed in AIP Console GUI

AIP console logs here - <AIP Console installation folder>\Aipconsole\data\logs

webi.log

webi_error.log

Extend Service Logs - <Extend service Install Folder>\ExtendService\logs

Extend proxy logs - C:/Program Files/CAST/Extend/logs/

Understanding and Exploring Logs

To know the details about the Cast Management Studio logs and the details stored in them see " CAST Management Studio logging " in the offline help of CastMS. Further details about the important logs are explained below.

.CastLog files

CastLog Files

These log files are usually created while running the analysis/snapshot

How to open a .CastLog file

These files are created when you run the analysis which means you will have the Cast AIP installed on the system.
There is a dedicated log viewer provided with the installation of the Cast AIP to view these files and make most of the information provided
Location of Log Viewer : <Cast Installation Folder>\LogViewer.exe

If you have a error/warning while taking the snapshot in the compute snapshot phase. go through the following space based on the log file which has the error/warning information.
What are fatal errors/errors/warnings.
  1. If you have error(s) while running the snapshot and you dont have the log summary in the analysis log as shown in the below screenshot. Then it is a crash and you will have the error in the CAST-MS log file.
  2. If you have error(s) while running the snapshot and you have log summary which says that you have (1 or >1) fatal error(s) then it is a crash and you will have the error in the analysis log file.
  3. If you have error(s) while running the snapshot and you have log summary which says that you have (1 or >1) error(s) then they are normal errors which would not crash the analysis and you will have these errors in the same log file. 
  4. If you have warning(s) while running the snapshot and you have log summary which says th
  5. at you have (1 or >1) warning(s) then they are normal warning(s) which would not crash the analysis and you will have these warnings in the same log file. 
Screenshot of the Log Summary


Also, See CMS Analysis Unit - Information - Identify the Analysis unit log file to know how to find the list of analysis log files using queries on Management base. 

CastLog2 Files

These files are usually created when using Delivery Manager tool

How to open a *.CastLog2 file

These files are created when you run the delivery manager tool, so you might not have CastAIP installed on your machine.

Once DMT is installed from the CAST-AIC Portal the CastLog2Viewer.exe is by default copied to the machine from AICPortal to a path similar to this. C:\Users\\AppData\Local\CAST\CAST\DMT\<application id>\CastLog2Viewer.exe on the Windows operating system.

To edit a castlog2 file, the standard method should be to open DMT and use the corresponding action in the package content tab.

Now if you want to edit the castlog2 file, you can use the CastLog2Viewer.exe available in the DeliveryManagerTool folder (C:\Program Files\CAST\8.0\DeliveryManagerTool) . With a command line, the syntax is:

CastLog2Viewer.exe <filename> , where <filename> is the full path of the castlog2 file.

The screenshot below shows how to open castlog2 file.

Note : It is very important to open the log with its viewer in order to enhance the ease of use and readability.

To get the full stack trace,

Select the line you want the details of

Go to File > Show Details

The stack trace appears in the bottom panel.

CastMS Log File

The default path of the CastMS log file in 8.3.x is  [CastLogRootPath]\CAST-MS-<Date>-<Time>.log.txt

Cast-MS log Captures all the warnings and errors logged by the CAST Management Studio which is useful when we have a crash and there is no error in the log file of a specific features.

Complete Logging of information from CAST-MS in different logs is explained in the offline help (<installation folder>\Cast-MS-Help.exe) of CAST-MS

CAST Management Studio - Help > How To > CAST Management Studio logging  

Getting the CSS Log File

Open a windows explorer

Go the directory C:\Program Files (x86)\CAST\CASTStorageService\db_data\pg_log or C:\Program Files\CAST\CASTStorageService\db_data\pg_log depending on 64 bits or 32 bits windows installation.

Get the PostgreSQL log files corresponding to the date of the tracked events (the creation date is in the filename). For instance  PostgreSQL-2013-01-02_000000.log.

Understanding CUT Log File

During various steps of your migration process you may have to verify the corresponding CUT Logs files.
To help you verify, the below explanation will help you to understand the individual logs and refer them whenever required.

Where can I find the CUT logs?

  • Logs are by default located in your [CastCurrentUserTempPath]\CAST\CAST\<version>\CUT\ folder.
    Example of the logs generated are:

Understanding the CUT generated files:

  • The complete upgrade report: Report-09_01_2015-14_50_393.xml (Errors and upgrade status of the reports)
  • The CAST Server Manager report cast_local-servman-input-1441111858846.xml-ServerManagerLog.castlog (same as the CAST Server Manager standard log).
  • The Configuration file cast_local-servman-input-1441111858846.xml (the configuration file is used by CAST Server Manager. One configuration file will exist for each upgraded Service).
  • The CAST Server Manager report cast_central-servman-input-1441111858846.xml-ServerManagerLog.castlog (same as the CAST Server Manager standard log).
  • The Configuration file cast_mngt-servman-input-1441111858846.xml (the configuration file is used by CAST Server Manager. One configuration file will exist for each upgraded Service).
  • The CAST Server Manager report cast_mngt-servman-input-1441111858846.xml-ServerManagerLog.castlog (same as the CAST Server Manager standard log).
  • The Configuration file cast_local-servman-input-1441111858846.xml (the configuration file is used by CAST Server Manager. One configuration file will exist for each upgraded Service).
  • The assessment model migration log cast_mngtCMS-ImportAssessmentModel-1441113358742.log (will be generated if option 'Use new Assessment model from this version of AIP (version)' is selected)
  • The Configure from migrated databases cast_mngtCMS-ConfigureFromMigratedDatabase-1441113752673.log.castlog (will only be generated if migrating from 7.0.x to 7.2 or 7.3)

    The above CUT log files lists all the configurations (analysis units,analysis tools etc) that have been migrated and corresponding errors and warnings, if any.


Notes/comments


Related Pages


  • No labels