improve log analyzer