Details
-
Feature
-
Status: Released (View Workflow)
-
Major
-
Resolution: Fixed
-
2.0.0
-
None
Description
Current Situation
- Jobs can write log output of arbitrary size to the job's stdout/stderr channel. The JS7 Agent and Controller handle log output based on a streaming implementation that can handle this size.
- The JOC Cockpit History Service manages larger log output within the scope of
JOC-1358. - The JOC Cockpit GUI offers logs for both
- direct display of log output in the browser (log view window),
- download of the log output via browser..
Desired Behavior
- The JOC Cockpit API will consider the size of uncompressed log output: A threshold setting determines if the API will instruct the GUI to
- offer log output for both display with a browser and download of log output if the size of such output will not exceed the threshold
- offer download of log output only if the size of such output will exceed the threshold.
- The JOC Cockpit GUI will handle display of the order log like this:
- Any included task logs are retrieved individually from the API.
- Task logs are retrieved on demand if the user clicks on the arrow icon to display the task log.
- The threshold value can be modified from the JOC Cockpit Settings page with the log_maximum_display_size (default: 10 MB) setting.