Skip to content


Logging Process

When CVEDIA-RT starts, it writes all the relevant information to the Log window and log file.

Log files location

Output logs are saved into logs folder with a timestamp in the filename.

Log message types

Log messages can have different types:

- INFO : Informative messages that have no impact on application usage, can be written by the user with API functions
- DEBUG : Debug messages that have no impact on application usage
- WARN : Warning messages that may indicate a problem loading some feature and may have an impact on application usage
- ERROR : Error messages indicating a failure when loading a system feature or plugin, this feature will likely be disabled afterwards
- FATAL : A fatal event that prevents the application from continuing

Writing to Log from application script

Its possible to manually write a message to the log during runtime from the user scripts, for this the following Lua user functions can be used:

- **api.logging.LogInfo(message)** : Write a info message to Log
- **api.logging.LogDebug(message)** : Write a debug message to Log
- **api.logging.LogWarning(message)** : Write a warning message to Log
- **api.logging.LogError(message)** : Write a error message to Log

Application startup workflow

When the application is loaded, it writes information about its startup process to the log, this are the different phases that occur when CVEDIA-RT starts:

  • Load main LUA script than controls application process.
  • Search Plugins folder for plugins and load each one thats found.

Finding errors when loading plugins

If any error occurs when loading a plugin, its message will be located after the Attempting to load Plugin message

  • Discovery for instance json project configuration files on the specified folders

Log window

Logs can also be viewed during runtime inside the application on the log window, this window can be opened by accessing the Windows Main menu option.


The window will show the different message types with different colors:

  • Blue for Info messages
  • Orange for Warning messages
  • Red for Fatal messages