Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
application_logging_configuration [2020/04/26 03:33]
127.0.0.1 external edit
— (current)
Line 1: Line 1:
-**TestOptima** uses java logger to write to two log files: mScript Log and Server Log. 
  
-mScript Log contains the log messages written out by mScript <log> tag. A new mScript log file is created for each model execution. The files are located in /www/MbtSvr/log/ folder with mscript_'modelName'_nnnnnnnn.log. The mScript log files are purged automatically. You can specify number of days of mScript log files to keep in <code>config.properties</config> 
- 
-Server log file (webmbtServer.log) contains the system log messages and errors. It is located in /www/MbtSvr/log/ folder. This is the file you want to check if you are experiencing problem with IDE or server. Tech support often times will require you to upload this log file to help trouble shooting the issues for you. Only one copy of the server log file is kept, each time the server is started, this log file is cleared. 
- 
-You can access both log files from the <code>Log</code> IDE menu. 
- 
-You can config the log level (amount of details) by setting the server startup argument: -logLevel xxx -mscriptLogLevel yyy 
- 
-where xxx and yyy are the log levels per [[http://docs.oracle.com/javase/1.4.2/docs/api/java/util/logging/Level.html|java logger]]: 
- 
-  * SEVERE (highest value) 
-  * WARNING 
-  * INFO 
-  * CONFIG 
-  * FINE 
-  * FINER 
-  * FINEST (lowest value)