Who is this spifly and why is he filling up my logs?

I’m currently running OH 2 Build #585 but this behavior started a couple of builds before at least.

Whenever I restart OH now my startup logs are overflowing with:

2016-11-22 11:38:13.479 [INFO ] [g.apache.aries.spifly.dynamic.bundle] - Bundle Considered for SPI providers: org.openhab.core
2016-11-22 11:38:13.481 [INFO ] [g.apache.aries.spifly.dynamic.bundle] - No 'SPI-Provider' Manifest header. Skipping bundle: org.openhab.core

Just about every bundle that makes up OH 2 gets these two lines in the log.

They are informational logs so I assume they are nothing to worry about. To suppress them add the following to userdata/etc/org.ops4j.pax.logging.cf\

# Silence SPI Fly
log4j.logger.org.apache.aries.spifly.dynamic.bundle = WARN, out, osgi:*

This will be gone with the next Karaf upgrade, see https://issues.apache.org/jira/browse/KARAF-4548

1 Like