Added detailed logging for publications