Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Content layer
id289767845
Content column
id289767848
Content block
id292760249

On this page

Table of Contents
maxLevel3
minLevel3

Content block
id289767847

When importing you import an OWL ontology file as a concept model and exporting or export a concept model as an OWL ontology file, a log appears, by default, in the Notification Window. The log provides the user with an Information Log appears in the Notification Window that provides helpful information regarding the details of the import and export, e.g., . Some examples include the operations that the Concept Modeler is performing, any problems it has encountered during import and export, and whether or not details about the result of the import and export whether or not it was completed successfully completed.


Image Modified

The log detail in the Notification Window at the bottom of the diagram.

The details of some fatal errors when importing an ontology and exporting a concept modelduring import and export, e.g., a denied access or permission to export the file, is are displayed in the log, and opens . This prompts the message dialog informing you of the result of the export, as shown in the following figures.

Image Removed

The denied access error when exporting a concept model is explained in the log in the Notification Window

.

Image Modified

The message dialog showing the result of the export.

Image Added

The Notification Window showing the denied access when exporting a concept model.

Some errors displayed in the log do not allow the importing process to be completed, as shown below. In the log, the The Notification Window showing the error of setting a catalog file indicates that the importing of the ontology import was unsuccessfulunsuccesful.

Image Modified

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 the log information to view see the result of an the import or export and diagnose any arising problems that may arise, you can increase or decrease log levels to customize the scope levels of a log information displayed in the the Notification Window by 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 the log level


  1. In the MagicDraw installation folder, open the the data directory directory.
  2. Open Open ccmlogconfig.xml with  with any text editors. (We recommend Notepad++)



  3. If you would like to change the log level of the Log File, change the log level, which is shown on the highlighted line, to one of the five levels indicated in the comment above the line: TRACEDEBUGINFOWARN, or ERROR. It does not affect the log level of the the Notification Window.

  4. 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: TRACEDEBUGINFOWARN, or ERROR. It does not affect the log level of the the Log File.
  5. On the main menu, click File > Save and Save your changes, and close the ccmlogconfig.xml file.
  6. Close the directory dialog window.
  7. Restart your Magic Draw application to see the changes. 
Info
titleInformation

Log levels are as follows:

  • TRACE level shows all log information from the TRACE level to
the
  • ERROR level.
  • DEBUG level shows all log information from the DEBUG level to
the
  • ERROR level.
  • INFO level, by default, shows all log information from the INFO level to
the
  • ERROR level.
  • WARN level shows all log information from the WARN level to
the
  • ERROR level.
  • ERROR level shows log information only at
the
  • ERROR level.
Content block
id289767844

Related pages