When you import an OWL ontology file as a concept model or export a concept model as an OWL ontology file, there is also log in the an Information Log appears in the Notification Windowthat that provides you some helpful information regarding the details of the import and export, e.g., the action Concept Modeler has taken to solve the problem or any occurring issues it has when exporting the concept model.The Notification Window is located at the bottom of the diagram you are working as shown in the figure below. In the Notification Window, the log is displayed and explains the . Some examples include the operations that the Concept Modeler is performing, any problems it has encountered during import and export, and details about the result of the export import and what has happened after the export is completed or unsuccessfulexport whether or not it was completed successfully.
Image Modified
The log detail in the Notification Window at the bottom of the diagram.
The log's content differs under situations. The detail details of some fatal errors during import and export, e.g., a denied access or permission to export the file, is are displayed in the logand opens . This prompts the message dialog informing you of the result of the export, as shown in the following figures.
The message dialog showing the result of the export.
The
problem of
Notification Window showing the denied access when exporting a concept model
is explained in the log in the Notification Window
.
Some errors are displayed only in the log and do not allow the exporting importing process to be completed, as shown below. In the log section, the exported destination path previously selected cannot be found. Therefore, Concept Modeler chooses the original path variable as the exporting location instead.
Image Removed
The problem of the exported destination path
The Notification Window showing the error of setting a catalog file indicates that the ontology import was unsuccesful.
Image Added
The importing error of setting a catalog file is explained in the log in the Notification Window.
Increasing and decreasing log levels
Apart from using log information to see the result of the import or export and diagnose any arising problems, you can increase or decrease log levels to customize the scope levels of log information displayed in the the Notification Windowby changing . You can change the log level in in ccmlogconfig.xml located xml which is located in the MagicDraw installation folder.
To increase or decrease log level
In the MagicDraw installation folder, open the the datadirectory directory.
Open Open ccmlogconfig.xmlwith with any text editors. (We recommend Notepad++)
Image Modified
On If you would like to change the log level of the Log File, change the log level, which is shown on the highlighted lineshown in the figure below, change the log level , to one of the five levels indicated in the comment above the line: TRACE, DEBUG, INFO, WARN, or ERROR. It does not affect the log level of the Notification Window.
Image Added
If you would like to change the log level of the Notification Window, change the log level, which is shown on the highlighted line, to one of the five levels indicated in the comment above the line:TRACE,DEBUG,INFO,WARN, or ERROR. or ERROR. It does not affect the log level of the Log File.Image Added
Save your changes, and close the ccmlogconfig.xml file.
Restart your Magic Draw application to see the changes. Image Removed
Info
title
Information
Log levels are as follows:
TRACE level shows all log information from the TRACE level to ERROR level.
DEBUG level shows all log information from the DEBUG level to ERROR level.
INFO level, by default, shows all log information from the INFO level to ERROR level.
WARN level shows all log information from the WARN level to ERROR level.
ERROR level shows log information only at ERROR level
.On the main menu, click File > Save and close the file