A tool for log ananlysis