Message logs

DevOps Model RealTime prints messages (errors, warnings, and so forth) in a few different logs. Each of these have a particular purpose.

Problems View

The Problems view shows messages that relate to elements in your workspace, such as models or files. This is the most important log, where you can find all the information you need to be aware of that relates to your workspace. The Problems view is highly configurable. It might be necessary to configure the Problems view, especially if you have a large workspace, so it does not show all problems for everything in your workspace at the same time. Read more about the Problems view here.

Console View

The Console view shows messages from console-based tools invoked by Model RealTime. For example, a 'make' tool that is invoked when building a transformation configuration is a command-line tool that might print messages to the console. Such messages are directed to the Console view. The Console view manages multiple consoles. Use the button Display Selected Console to choose which console you want to look at in the Console view. The console that is used by Model RealTime when building a transformation configuration is called "UML Development". The console that is used by CDT when it builds C++ projects is called "C-Build". Read more about the console view here.

When you build a transformation configuration, many messages that are printed to the Console view are also represented as entries in the Problems view. This duplication of messages enables you to find all relevant problems in the Problems view. You only need to look at the Console view if you need additional information or more context about a particular problem.

Note that when you build using the model compiler, messages related to building the application can be printed in a special file (a build log), and a link to this file is then printed in the UML Development console. This can make it easier to distinguish C++ build related messages (from compiler and linker) from messages printed by the model compiler itself. This behavior is controlled by the preference RealTime Development – Build/Transformations – Show make log in UML Development Console.

Error Log

This view is not open by default. Under normal circumstances, you should not have to open the Error log. Model RealTime uses the error log for printing messages, such as internal errors or debug information, that might not be of interest to you as a user, but can help IBM support to pinpoint problems. The error log is saved in a file in your workspace folder (.metadata/.log). Read more about the Error Log here.

Build Server Log

The model compiler can run in a mode where it acts as a build server in order to efficiently serve build requests from Model RealTime. It then writes messages to a special log file which is stored in your workspace folder (.metadata/.plugins/com.ibm.xtools.umldt.core/.mc.server.log). You can open the log file in a text editor by clicking the button Server Log that is present in the preference page RealTime Development - Build/Transformations.