Versions Compared

Key

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

...

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

To enable other logging levels in docker

use the environment variable logback.configurationFileJAVA_TOOL_OPTIONS in the enviroment part, e.g. logback:

Code Block
languagedocker
  standalone01:
    image: odysseusol/odysseus:dev-latest
    stdin_open: true
    restart: always
    ports:
        - 18888:8888
    environment:
       - JAVA_TOOL_OPTIONS=-Dlogback.configurationFile=logback.debug.xml
    volumes:
       - ./standalone01:/var/lib/odysseus

Remark: The choices are the same as above. .xml Does not work at the moment. Use special docker images instead.

Further Error Messages

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

...