Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Odysseus uses slf4j with logback. In odysseus_dev there is org.slf4j.api.feature. Here are different files defined that can be used to configure logging

Image Added

Default is logback.xml which will print only information, warnings and errors. A more detailed information can be get with using debug and even more with trace. The versions with .file. inside print the log output to a file that in configured here.

To change the default behaviour there are two ways:

  • You can rename one of the files to logback.xml
  • You can define the logback config in the product files.
    Image Added

Further Error Messages

To enable extended logging in the downloaded product do the following:

 

  • Go to main directory of the installed Odysseus.
  • Go to: plugins
  • Go to: de.uniol.inf.is.odysseus.slf4j_1.0.0
  • open File: log4j.properties
  • find line:
Code Block
log4j.rootLogger=DEBUG, default
  • Change to:
Code Block
log4j.rootLogger=DEBUG, default, default2
  • Remark: If the line is ERROR, default, change also to DEBUG, default, default2
  • Now in your Odysseus start directory after running Odysseus a new file output.log is created where further logging information can be found.

...

Add the following file to you working directory of odysseus so Odysseus to see further error messages. If you run inside eclipse, this file needs to be in the start folder of eclipse.

.options