Add logging to adapters