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.
Igloo Core Engine Log Level
To set the log level for console and file output:
-
Close Igloo Core Engine
-
Navigate to
C:\\ProgramData\\Igloo Vision\\IglooCoreEngine\\settingsin your file explorer. -
Open
EditorWindowsSetting.xmlwith a text editor -
Locate the lines with
<logLevelConsole>,<logLevelFile>and<logLevelCef>. The number between these tags represents the current log level for console and file output, respectively. -
Replace the number between these tags with your desired log level.
For example, if you want to log warnings, errors and critical issues, your lines should look like:
<logLevelConsole>2</logLevelConsole><logLevelFile>2</logLevelFile><logLevelCef>3</logLevelFile> -
Save and close the file.
Logs are stored in the
C:\ProgramData\Igloo Vision\IglooCoreEngine\logs
Log File Size Management
Igloo Core Engine limits the size of each log file to 10 MB.
When this limit is reached, the log is recycled rather than growing indefinitely.
During recycling:
-
The start of the log (useful for startup and configuration context) is preserved.
-
The most recent section of the log is retained.
-
Older middle sections are discarded to keep the file within the size limit.
This ensures logs remain useful for diagnostics while preventing excessive disk usage or uncontrolled log growth.
CEF and Chromium Log Levels
CEF and Chromium has a separate logging system and its associated values are:
-
VERBOSE (1): Informational messages that may be useful for developers debugging an application. -
INFO(2): Normal operation messages. Things you might want to take a look at, but probably not a problem. -
WARNING(3): Potential issues that are not immediate problems. -
ERROR(4): Something did not work as expected. -
FATAL ERROR(5): Something went wrong and cannot be recovered. Expect the program to terminate. -
SILENT(99): Disables all log messages.
Cef and Chromium logs are stored in the user's
AppData\Local\Igloo Vision\IglooCoreEngine\WebData\chrome_debug.log folder
Note: Lower 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.