Machine Learning to Detect Anomalies from Application Logs