GHOSTLOG

The GHOSTLOG environment variable defines the logging level for the Genero Ghost Client. It allows you to control the output messages.

The GHOSTLOG setting defines what information is outputted as tests are run, based on the logging detail included in your test play method (see Log test scenario output).

You can adjust the log level with a numeric or literal value.

Valid literal values include:
  • ERROR - Only errors are displayed.
  • WARNING - Errors and warnings are displayed.
  • INFO - Errors, warnings and info are displayed.
  • DEBUG - Errors, warnings, info, and debug information are displayed. In other words, basically everything is displayed.
The Launcher automatically sets GHOSTLOG to INFO. To select a different level, set it at the command line before launching a test.
  • On Linux®/UNIX™/macOS™

    export GHOSTLOG=VALUE
    For example:
    export GHOSTLOG=ERROR

  • On Windows®:

    set GHOSTLOG = VALUE
    For example:
    set GHOSTLOG = ERROR