code: public static Path getSkipOutputPath(Configuration conf) {
      String name =  conf.get(OUT_PATH);
      if(name!=null) {
        if("none".equals(name)) {
          return null;
        }
        return new Path(name);
      }
      Path outPath = FileOutputFormat.getOutputPath(new JobConf(conf));
      return outPath==null ? null : new Path(outPath, 
          "_logs"+Path.SEPARATOR+"skip");
    }
docs: Get the directory to which skipped records are written. By default it is
  the sub directory of the output _logs directory.
  User can stop writing skipped records by setting the value null.
  
  @param conf the configuration.
  @return path skip output directory. Null is returned if this is not set
  and output directory is also not set.