Document toolboxDocument toolbox

Private & Confidential

(1.2.0) Logging

This guide will help you in understanding how to change the log level of the Igloo Core Engine via the EditorWindowsSetting.xml file found in the path C:\\ProgramData\\Igloo Vision\\IglooCoreEngine\\settings.

Log Levels

The available log levels in Igloo Core Engine and their associated values are:

  • VERBOSE (0): Informational messages that may be useful for developers debugging an application.

  • NOTICE (1): Normal operation messages. Things you might want to take a look at, but probably not a problem.

  • WARNING (2): Potential issues that are not immediate problems.

  • ERROR (3): Something did not work as expected.

  • FATAL ERROR (4): Something went wrong and cannot be recovered. Expect the program to terminate.

  • SILENT (5): Disables all log messages.

Setting the Log Level

To set the log level for console and file output:

  1. Close ICE

  2. Navigate to C:\\ProgramData\\Igloo Vision\\IglooCoreEngine\\settings in your file explorer.

  3. Open EditorWindowsSetting.xml with a text editor

  4. Locate the lines with <logLevelConsole> and <logLevelFile>. The number between these tags represents the current log level for console and file output, respectively.

  5. Replace the number between these tags with your desired log level (0 to 5).

    For example, if you want to log warnings, errors and critical issues, your lines should look like:

    <logLevelConsole>2</logLevelConsole>

    <logLevelFile>2</logLevelFile>

  6. Save and close the file.

Note: Higher log levels will cause more messages to be logged, potentially slowing down the system and consuming more disk space. It's recommended to set an appropriate log level according to your specific needs and environment.

(c) Igloo Vision 2020