A smart log analyzer