turn detection from log file