Add logging to master.