Add logging to setup