add logging to master, modify client logging