Set LOGGER.prefix only when it supports it.