This page provides a description of different logs created when generating a snapshot with Node.js analysis. Note that the Node.js analyzer relies on the HTML5/Javascript analyzer.
You may refer to official documentation
In this page, the different logs lines corresponding to the Run Universal Analyzer - Node js are listed with functional and technical explanation of the logs that it generates.
CAST-MS-[Date]-[Time].log.txt
In the CAST MS log file we have many useful information regarding the environment : the CAST Installation folder used (we can find it in the command line to run the tool), the LISA and LTSA location and log file location
INF: 2018-06-19 11:16:04: starting Task Run Universal Analyzer "HTML5_33140"
INF: 2018-06-19 11:16:04: C:\Program Files\CAST\8.3/anarun.exe -CONNECT_PROFILE('SFRW7LAP:2280 on CastStorageService.salim_833_local') -RUN_AU(39201,39202,'C:\ProgramData\CAST\CAST\CASTMS\LISA\c66a48d76b394424a92bcc0176ffe65c\Scre0cab709accf431289e4d2904d989310\JobSettings.xml') -MANAGED(39201) -SESSION_ID(39202) -LOG('C:\ProgramData\CAST\CAST\Logs\TKB NodeJS\Run_Analysis_only_878\HTML5_33140-20180619-111550.castlog',TRUNCATE) -LARGESTORAGE('C:\ProgramData\CAST\CAST\CASTMS','C:\ProgramData\CAST\CAST\CASTMS','c66a48d76b394424a92bcc0176ffe65c/Scre0cab709accf431289e4d2904d989310') -LOGIN(,CASTCORP\SFR,) -APP(-NOGUI) -FINAL_UPDATE -NOPROGRESS -EXIT
INF: 2018-06-19 11:16:25: #PMC#About to run JOB_UNIVERSAL_ANALYZER job 'HTML5_33140'.
INF: 2018-06-19 11:16:25: About to run JOB_UNIVERSAL_ANALYZER job 'HTML5_33140'.
INF: 2018-06-19 11:16:38: Initializing logging context in a new thread for parent thread 1. Logging.runInNewThreadContext should be used instead
INF: 2018-06-19 11:17:00: Adding new Project: HTML5_33140
INF: 2018-06-19 11:17:00: Guid set
INF: 2018-06-19 11:17:00: persistence posted
INF: 2018-06-19 11:17:00: identification set
INF: 2018-06-19 11:17:00: description set
INF: 2018-06-19 11:17:00: fullname set
INF: 2018-06-19 11:17:00: identification posted
INF: 2018-06-19 11:17:00: project posted
INF: 2018-06-19 11:17:00: UnivProject id = #4
INF: 2018-06-19 11:17:00: IsInProjectLink added
INF: 2018-06-19 11:17:21: #PMC# Execution date=2018/06/19 09:17
INF: 2018-06-19 11:17:21: Execution date=2018/06/19 09:17
INF: 2018-06-19 11:17:21: #PMC# Execution duration=0 days, 00 hours, 00 mins, 56 secs
INF: 2018-06-19 11:17:21: Execution duration=0 days, 00 hours, 00 mins, 56 secs
INF: 2018-06-19 11:17:21: #PMC# Execution result=success
INF: 2018-06-19 11:17:21: Execution result=success
INF: 2018-06-19 11:17:22: Loading ini file: C:\Users\SFR~1.CAS\AppData\Local\Temp\CAST\CAST\8.3\AMRunResult39202.INI
INF: 2018-06-19 11:17:22: Task message: No Task message
INF: 2018-06-19 11:17:22: Log file: C:\ProgramData\CAST\CAST\Logs\TKB NodeJS\Run_Analysis_only_878\HTML5_33140-20180619-111550.castlog
INF: 2018-06-19 11:17:22: ending Task Run Universal Analyzer "HTML5_33140"
HTML5_[Exec Unit ID]-[Date]-[Time].castlog
This is the Node.js analysis log file. The Node.js analyzer is based on the HTML5/Javascript analyzer, that is why some messages related to the latter can be found.
Messages specific to the Node.js analyzer are prefixed by [com.castsoftware.nodejs] , whereas generic HTML5/javascript messages are prefixed by [com.castsoftware.html5]
Environment information
2018-06-19 11:16:07.851781 Information MODULMSG ; Job execution CAIP Version: CAST 8.3.3 ( Build 1591 )
2018-06-19 11:16:07.851781 Information MODULMSG ; Job execution LISA folder: C:\ProgramData\CAST\CAST\CASTMS
2018-06-19 11:16:07.852267 Information MODULMSG ; Job execution LTSA folder: C:\ProgramData\CAST\CAST\CASTMS
2018-06-19 11:16:07.852267 Information MODULMSG ; Job execution LSA relative folder: c66a48d76b394424a92bcc0176ffe65c\Scre0cab709accf431289e4d2904d989310
2018-06-19 11:16:13.149654 Information MODULMSG ; Job execution Using Knowledge Base on schema salim_833_local.
Run analysis is about to start
In this stage, installed extensions are registered and meta-model is loaded from knowledge base
2018-06-19 11:16:23.688955 Information MODULMSG ; Job execution Registering extension com.castsoftware.python 1.0.0-funcrel.
2018-06-19 11:16:23.688955 Information MODULMSG ; Job execution Registering extension com.castsoftware.dmtxmlscanner 1.0.0-funcrel.
2018-06-19 11:16:23.689454 Information MODULMSG ; Job execution Registering extension com.castsoftware.dotnet 1.0.0.
2018-06-19 11:16:23.689454 Information MODULMSG ; Job execution Registering extension com.castsoftware.html5 1.7.1.
2018-06-19 11:16:23.689454 Information MODULMSG ; Job execution Registering extension com.castsoftware.internal.platform 0.6.0.
2018-06-19 11:16:23.689454 Information MODULMSG ; Job execution Registering extension com.castsoftware.jaxrs 1.3.1.
2018-06-19 11:16:23.689454 Information MODULMSG ; Job execution Registering extension com.castsoftware.jaxws 1.0.0-funcrel.
2018-06-19 11:16:23.689454 Information MODULMSG ; Job execution Registering extension com.castsoftware.jee 1.0.4.
2018-06-19 11:16:23.689952 Information MODULMSG ; Job execution Registering extension com.castsoftware.jquery 1.6.0.
2018-06-19 11:16:23.690451 Information MODULMSG ; Job execution Registering extension com.castsoftware.nodejs 1.6.0.
2018-06-19 11:16:23.690952 Information MODULMSG ; Job execution Registering extension com.castsoftware.springmvc 1.5.0.
2018-06-19 11:16:23.691450 Information MODULMSG ; Job execution Registering extension com.castsoftware.sqlanalyzer 2.3.1.
2018-06-19 11:16:23.691951 Information MODULMSG ; Job execution Registering extension com.castsoftware.wbslinker 1.5.0.
2018-06-19 11:16:23.691951 Information MODULMSG ; Job execution Registering extension com.castsoftware.webfilesdiscoverer 1.1.0.
2018-06-19 11:16:23.691951 Information MODULMSG ; Job execution Registering extension com.castsoftware.JEE-MavenHttp 2.0.0.
2018-06-19 11:16:23.692447 Information MODULMSG ; Job execution Registering extension com.castsoftware.angularjs 1.6.0.
2018-06-19 11:16:23.692447 Information MODULMSG ; Job execution Registering extension com.castsoftware.businessobject 1.0.2.
2018-06-19 11:16:23.692447 Information MODULMSG ; Job execution Registering extension com.castsoftware.dmtboextractiondiscoverer 1.0.0.
2018-06-19 11:16:24.337749 Information MODULMSG ; Job execution Loading meta model from repository . . .
2018-06-19 11:16:25.627351 Information MODULMSG ; Job execution Meta model loaded.
Configuration Information
For each Universal Analysis Unit: Universal language , File extensions, Name, and Description are logged. Then, a list of the Source files, with path and permission
2018-06-19 11:16:25.904337 Information MODULMSG ; Job execution RunAnalysis started
2018-06-19 11:16:25.911823 Information MODULMSG ; Job execution Analysis Unit description :
2018-06-19 11:16:25.911823 Information MODULMSG ; Job execution Name : HTML5
2018-06-19 11:16:25.912324 Information MODULMSG ; Job execution Universal language
2018-06-19 11:16:25.912324 Information MODULMSG ; Job execution Extensions used in jobSettings : *.js;*.ts;*.jsx;*.tsx;*.html;*.htm;*.xhtml;*.jsp;*.xml;*.json;*.css;*.asp;*.aspx;*.htc;*.cshtml
2018-06-19 11:16:25.912324 Information MODULMSG ; Job execution Name : HTML5
2018-06-19 11:16:25.912324 Information MODULMSG ; Job execution Description : HTML5/Javascript
2018-06-19 11:16:25.912324 Information MODULMSG ; Job execution Sources
2018-06-19 11:16:25.912324 Information MODULMSG ; Job execution File Path : C:\CASTMS-833\Deploy\TKB NodeJS\NodeJS
2018-06-19 11:16:25.912324 Information MODULMSG ; Job execution Permission : Include
2018-06-19 11:16:25.912324 Information MODULMSG ; Job execution Universal language
2018-06-19 11:16:25.912822 Information MODULMSG ; Job execution Extensions used in jobSettings : *.js;*.ts;*.jsx;*.tsx;*.html;*.htm;*.xhtml;*.jsp;*.xml;*.json;*.css;*.asp;*.aspx;*.htc;*.cshtml
2018-06-19 11:16:25.912822 Information MODULMSG ; Job execution Number of Instances : 200000
Debug options
2018-06-19 11:16:25.913320 Information MODULMSG ; Job execution Activate AMT Memory Profiling : 0
2018-06-19 11:16:25.913320 Information MODULMSG ; Job execution Activate Inference Engine technical log : 0
2018-06-19 11:16:25.913320 Information MODULMSG ; Job execution Activate Inference Engine traces : 0
2018-06-19 11:16:25.913320 Information MODULMSG ; Job execution Activate Metrics traces : 0
2018-06-19 11:16:25.913320 Information MODULMSG ; Job execution Include debug messages : 0
2018-06-19 11:16:25.913320 Information MODULMSG ; Job execution Skip Metrics compute : 0
2018-06-19 11:16:25.913320 Information MODULMSG ; Job execution Skip analysis result save : 0
2018-06-19 11:16:25.913320 Information MODULMSG ; Job execution Show SQL : 0
2018-06-19 11:16:25.913821 Information MODULMSG ; Job execution SESSION CONTEXT details: 39201 ; 39202 = "TKB NodeJS"."HTML5_33140"
File Processing
Search for the phrase : About to run JOB_UNIVERSAL_ANALYZER
2018-06-19 11:16:25.915317 Information MODULMSG ; Job execution About to run JOB_UNIVERSAL_ANALYZER job 'HTML5_33140'
2018-06-19 11:16:26.000160 Information MODULMSG ; Job execution Total physical memory: 8064 MB.
2018-06-19 11:16:26.715330 Information MODULMSG ; Job execution External link component has loaded 0 objects
2018-06-19 11:16:26.784701 Information MODULMSG ; Job execution External link component has loaded 0 objects
[ ...]
2018-06-19 11:17:02.155419 Information MODULMSG ; Job execution Starting processing of file 'C:\CASTMS-833\Deploy\TKB NodeJS\NodeJS\config\passport\local.js'
2018-06-19 11:17:02.164901 Information MODULMSG ; Job execution File processed : 'C:\CASTMS-833\Deploy\TKB NodeJS\NodeJS\config\passport\local.js'
Parsing of source files in each root directory
2018-06-19 11:17:02.478475 Information MODULMSG ; Job execution [com.castsoftware.html5] Root directories:
2018-06-19 11:17:02.478475 Information MODULMSG ; Job execution [com.castsoftware.html5] NodeJS: 1 html files, 1 css files, 25 js files,0 jsp files, 0 asp files
2018-06-19 11:17:02.481486 Information MODULMSG ; Job execution [com.castsoftware.nodejs] start root analysis NodeJS
2018-06-19 11:17:02.482966 Information MODULMSG ; Job execution [com.castsoftware.html5] Start analyzing root NodeJS
Light parsing : all global objects are loaded
2018-06-19 11:17:02.484482 Information MODULMSG ; Job execution [com.castsoftware.html5] Light parsing of file C:\CASTMS-833\Deploy\TKB NodeJS\NodeJS\public\js\app.js
2018-06-19 11:17:02.500933 Information MODULMSG ; Job execution [com.castsoftware.html5] Light parsing of file C:\CASTMS-833\Deploy\TKB NodeJS\NodeJS\config\passport\twitter.js
2018-06-19 11:17:02.552338 Information MODULMSG ; Job execution [com.castsoftware.html5] Light parsing of file C:\CASTMS-833\Deploy\TKB NodeJS\NodeJS\config\passport\local.js
[ ... ]
Full parsing : detailed parsing and resolution of links
2018-06-19 11:17:05.911594 Information MODULMSG ; Job execution [com.castsoftware.html5] Full parsing of file C:\CASTMS-833\Deploy\TKB NodeJS\NodeJS\public\js\app.js
2018-06-19 11:17:05.972481 Information MODULMSG ; Job execution [com.castsoftware.html5] Full parsing of file C:\CASTMS-833\Deploy\TKB NodeJS\NodeJS\config\passport\twitter.js
2018-06-19 11:17:06.128191 Information MODULMSG ; Job execution [com.castsoftware.html5] Full parsing of file C:\CASTMS-833\Deploy\TKB NodeJS\NodeJS\config\passport\local.js
[ ...]
Summary of objects created for each root directory
2018-06-19 11:17:08.854626 Information MODULMSG ; Job execution [com.castsoftware.nodejs] NodejS application found C:\CASTMS-833\Deploy\TKB NodeJS\NodeJS\server.js
2018-06-19 11:17:08.863110 Information MODULMSG ; Job execution [com.castsoftware.nodejs] end root analysis NodeJS
2018-06-19 11:17:08.866104 Information MODULMSG ; Job execution [com.castsoftware.nodejs] 1 NodeJS applications created.
2018-06-19 11:17:08.866104 Information MODULMSG ; Job execution [com.castsoftware.nodejs] 0 NodeJS web service operations created.
2018-06-19 11:17:08.866104 Information MODULMSG ; Job execution [com.castsoftware.nodejs] 2 NodeJS mongoose models created.
2018-06-19 11:17:08.866104 Information MODULMSG ; Job execution [com.castsoftware.nodejs] 0 NodeJS database accesses found.
2018-06-19 11:17:08.866104 Information MODULMSG ; Job execution [com.castsoftware.nodejs] 0 NodeJS marklogic databases created.
2018-06-19 11:17:08.866603 Information MODULMSG ; Job execution [com.castsoftware.nodejs] 0 NodeJS marklogic collections created.
2018-06-19 11:17:08.866603 Information MODULMSG ; Job execution [com.castsoftware.nodejs] 0 NodeJS CouchDB databases created.
Checksum computation
The analyzer computes checksum of the objects
2018-06-19 11:17:08.961391 Information MODULMSG ; Job execution Starting checksum processing
2018-06-19 11:17:09.256555 Information MODULMSG ; Job execution End checksum processing
UA Resolution
2018-06-19 11:17:09.419678 Information MODULMSG ; Job execution Starting UA resolution
2018-06-19 11:17:09.420177 Information MODULMSG ; Job execution End UA resolution
Saving Step
2018-06-19 11:17:09.799233 MODULMSG ; Job execution Comparing objects on server . . .
2018-06-19 11:17:15.457371 MODULMSG ; Job execution Comparison completed.
2018-06-19 11:17:15.457371 MODULMSG ; Job execution Merging objects on server . . .
2018-06-19 11:17:20.027172 MODULMSG ; Job execution Merge completed.
Execution Summary
2018-06-19 11:17:21.804903 Information MODULMSG ; Job execution New Job status
2018-06-19 11:17:21.806400 Information MODULMSG ; Job execution Execution date=2018/06/19 09:17
2018-06-19 11:17:21.808393 Information MODULMSG ; Job execution Execution duration=0 days, 00 hours, 00 mins, 56 secs
2018-06-19 11:17:21.809393 Information MODULMSG ; Job execution Execution result=success
2018-06-19 11:17:21.809393 Information MODULMSG ; Job execution Analysis completed
2018-06-19 11:17:21.932330 Information MODULMSG ; Job execution 0 fatal error(s); 0 error(s); 0 warning(s); 296 information message(s).
CAST_MainTask_SummaryLog-[Date]-[Time].txt
Status: Execution succeeded
Start: Tue Jun 19 11:15:47 CEST 2018
OS Version: Windows 8.1 (version 6.3)
Machine name: SFRW7LAP
Software Version: CAST 8.3.3 ( Build 1591 )
Task: Run Analysis only
Total duration: 2m31s
-- Statistics for application TKB NodeJS --
Analysis duration: 2m28s
Nb of modules: 1
Nb of active analysis units: 1
Nb of inactive analysis units: 0
Total nb of analysis units: 1
Nb of saved objects: 175
Summary is saved at C:\ProgramData\CAST\CAST\Logs\TKB NodeJS\Run_Analysis_only_878\CAST_MainTask_SummaryLog-20180619-111818.txt