There is a log file generated in /usr/lib/hadoop-2.2.0/logs directory for each job .
so alternatively you can collect log through java Loggger using above directory.

public static void main(String[] args) {  

    Logger logger = Logger.getLogger("Log");  
    FileHandler fhl;  

    try {  
 
        fh = new FileHandler("path/to/the/log");  
        logger.addHandler(fhl);
        SimpleFormatter formatter = new SimpleFormatter();  
        fh.setFormatter(formatter);  

    } catch (Exception e) {  
        e.printStackTrace();  
    }   
}

Also you can refer below link for alternatives to collect logs.