prune the network log file content