Uploaded image for project: 'JS - JobScheduler'
  1. JS - JobScheduler
  2. JS-1521

Universal Agent stores transient log files

    XMLWordPrintable

Details

    Description

      Current Situation

      • The Agent forwards any log information immediately to the Master.
      • This happens line by line and allows a rolling log from the Master that is available with JOC.

      Desired Behavior

      • The Agent reports log information to the Master as suggested by the current behavior
      • In addition the Agent stores the log file in its local log directory.
        • The log directory is specified with the command line option: -log-directory=
        • If no log directory is specified then the Agents defaults to using the temp directory for log files.
      • On termination of a task with the Agent
        • in case of a successful connection to the Master the Agent will report the execution information to the Master and will remove the log file.
        • in case of unsuccessful connection to the Master the Agent will keep the local execution log.
      • Task logs
        • The Agent creates the following files for a task:
          • task-agentTaskID-stdout.log: includes task output to stdout
          • task-agentTaskID-stderr.log: includes task output to stderr
          • task-agentTaskID.json: includes information about the task such as start time, task id (for reference with a JobScheduler Master)
        • The agentTaskID in the log file name is an arbitrary number that is calculated by the Agent.

      Attachments

        Issue Links

          Activity

            People

              jz Joacim Zschimmer
              ap Andreas Püschel
              Andreas Püschel Andreas Püschel
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: