Versionen im Vergleich

Schlüssel

  • Diese Zeile wurde hinzugefügt.
  • Diese Zeile wurde entfernt.
  • Formatierung wurde geändert.

...

Once it seems clear where the problem lies, read the log files. Carefully. Twice. Again.

...

osgi-runner log file:

...

osgi.log

Karaf osgi-runner only uses one log file: karafosgi.log.

In Windows installations you find it in the data\log\ subdirectory of the Karaf osgi-runner installation directory, i.e. usually C:\Program Files\apacheosgi-karaf\datarunner\log resp. /var/liblog/apacheosgi-karaf/data/log/karafrunner/osgi.log.

Configuring logging details like log levels

Log levels can be changed editing Karafosgi-runner's config file adm.d/org.ops4j.pax.logging.cfg, which directly configures Karafosgi-runber's Log4J.

For instance, to extend the logging of the login services to DEBUG, add these lines:

...