X

Help Articles are product support tips and information straight from the NV5 Geospatial Technical Support team developed to help you use our products to their fullest potential.



3686 Rate this article:
No rating

Tips to Create a Log File for GSF Jobs

 

By default, GSF does not generate a log file when running a Job. To generate a log for each GSF job that is launched, the GSF config file has to be modified/updated. Please find below instructions on how to modify such config files in GSF.

The GSF configuration file is in the below directory:

<GSF_INSTALL_DIR>/gsf30/ for Linux

<GSF_INSTALL_DIR>\gsf30\ for Windows

It is called config.json.

 

The following lines need to be added to this configuration file

      "engineLog": "envi-engine.log",

      "jobExecutionLog": "envi-jobExecution.log"

 

  • The above lines need to be added in the “engines” part of the config file
  • Logs are configurable by engine type.  If you want a log to be created for several engines, the above lines should be added in each Engine definition. See the example below for idl-service-engine and envi-service-engine
  • Specify only a filename -not a path- for both Engine and JobExecution logs.  For example, envi-engine.log and envi-jobExecution.log
  • Logs are generated per job and will be saved in the job workspace.
  • Make sure to restart the GSF service to have config file changes apply.

 

Here is an example of the logs configured for idl-service-engine and envi-service-engine. The added lines are in blue.

Note: a comma (in red) needs to be added at the end of line above the new log lines

  "engines": [

    {

      "type": "@vis/idl-service-engine",

      "enginePathLinux": "/usr/local/harris/envi56/idl88/bin/taskengine",

      "engineLog": "idl-engine.log",

      "jobExecutionLog": "idl-jobExecution.log"

 

    },

    {

      "type": "@vis/envi-service-engine",

      "enginePathLinux": "/usr/local/harris/envi56/idl/bin/taskengine",

      "engineLog": "envi-engine.log",

      "jobExecutionLog": "envi-jobExecution.log"

  }

  ],

 

After running a GSF job you can display the logs from the GSF console by clicking on View Log on the right of each job line. You can then select the log you want to display in the top menu “Select a log File

 

 

--------------------------------------

created by BC on 11/24/2021

reviewed by MM

Please login or register to post comments.
Featured

End-of-Life Policy Enforcement for ENVI 5.3 / IDL 8.5 and Earlier Versions

5/6/2024

April 1, 2024 Dear ENVI/IDL Customer,  We are reaching out to notify you of our supported... more »

How to Upgrade licenses to ENVI 6.x / IDL 9.x

12/5/2023

What is the new Upgrade function? Starting with ENVI 6.0 and IDL 9.0, we have implemented an... more »

What to do if the 'License Administrator - License Server' for the Next-Generation License Server does not start?

6/13/2023

Background: With the release of ENVI 5.7 & IDL 8.9 and the corresponding Next-Generation licensing... more »

Next-Generation Licensing FAQ

4/28/2023

  NV5 Geospatial has adopted a new licensing technology for all future releases of our ENVI, IDL... more »

The IDL Virtual Machine

6/6/2013

What is the IDL Virtual Machine? An IDL Virtual Machine is a runtime version of IDL that can... more »