Learn patterns in log files