adding a bit more logging to switch nginx config