doc protocol_local + sort protocol logs