Added logging for master