1 Reply Latest reply on May 28, 2014 9:27 AM by duncancumming

    Testing success/failure of archiveLogFile() method of servermanager

    ccsimmons

      When attempting to archive a log file programmatically using the archiveLogFile() method of servermanager is there a way to test the success/failure of the action. I tried

       

      adminObj = createObject("component","cfide.adminapi.administrator").login("topsecret");
      serverObj = createObject("component","cfide.adminapi._servermanager.servermanager");
      result = serverObj.archiveLogFile("logfilename");
      writeDump(result);
      

       

      However, result is undefined.

       

      Thanks!