Move previous error log path to method. Renames the #check method.