Make onclose and onerror logging verbose