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

Identify output channel in JobScheduler logs

    XMLWordPrintable

Details

    Description

      Starting Situation

      • When a shell script is executed within a job and when this script writes messages to the standard output and error channels ("stdout", "stderr") then
        • the JobScheduler writes these messages to the task's log with severity "info", e.g.
          2015-03-18 07:57:38.991+0100 [info]   This message goes to stdout
          2015-03-18 07:57:38.993+0100 [info]   This message goes to stderr
          
        • A user cannot decide from the log if output has been written to stdout or to stderr.

      Desired Behavior

      • Logging
        • Messages received via the standard output and error channel can be identified from the log, e.g.
          2015-03-18 07:57:38.991+0100 [info] [stdout]  This message goes to stdout
          

          2015-03-18 07:57:38.993+0100 [info] [stderr]  This message goes to stderr
          
          Log messages to stderr are painted in red when displayed in a browser.

      • Handling of errors
        • This feature does not affect the handling of errors.
        • For error handling in case of output to stderr see JS-1329 that implies precedence of log output formatting over what is stated in this isssue.

      Attachments

        1. log_output source.png
          70 kB
          Santiago Aucejo Petzoldt
        2. logoutput in JOC.png
          80 kB
          Santiago Aucejo Petzoldt

        Issue Links

          Activity

            People

              jz Joacim Zschimmer
              ap Andreas PĆ¼schel
              Santiago Aucejo Petzoldt Santiago Aucejo Petzoldt
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 1 day
                  1d
                  Remaining:
                  Remaining Estimate - 1 day
                  1d
                  Logged:
                  Time Spent - Not Specified
                  Not Specified