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

    Testing success/failure of archiveLogFile() method of servermanager

    ccsimmons Level 1

      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");


      However, result is undefined.