Package org.apache.uima.ducc.orchestrator.user

Examples of org.apache.uima.ducc.orchestrator.user.UserLogging


    String text = "";
    try {
      jobid = job.getDuccId();
      String userName = job.getStandardInfo().getUser();
      String userLogDir = job.getUserLogsDir()+job.getDuccId().getFriendly()+File.separator;
      UserLogging userLogging = new UserLogging(userName, userLogDir);
      JobState jobState = job.getJobState();
      if(jobState != null) {
        text = jobState.toString();
        userLogging.toUserDuccLog(text);
        logger.debug(methodName, job.getDuccId(), text);
      }
    }
    catch(Exception e) {
      logger.error(methodName, jobid, e);
View Full Code Here


    String text = "";
    try {
      jobid = job.getDuccId();
      String userName = job.getStandardInfo().getUser();
      String userLogDir = job.getUserLogsDir()+job.getDuccId().getFriendly()+File.separator;
      UserLogging userLogging = new UserLogging(userName, userLogDir);
      JobCompletionType jobCompletionType = job.getCompletionType();
      if(jobCompletionType != null) {
        text = "completion type: "+jobCompletionType.toString();
        userLogging.toUserDuccLog(text);
        logger.debug(methodName, job.getDuccId(), text);
      }
      IRationale rationale = job.getCompletionRationale();
      if(rationale != null) {
        text = "rationale: "+rationale.toString();
        userLogging.toUserDuccLog(text);
        logger.debug(methodName, job.getDuccId(), text);
      }
    }
    catch(Exception e) {
      logger.error(methodName, jobid, e);
View Full Code Here

TOP

Related Classes of org.apache.uima.ducc.orchestrator.user.UserLogging

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.