Uploaded image for project: 'Mender'
  1. Mender
  2. MEN-1349

Need logging for state scripts

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Done
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2.0
    • Labels:

      Description

      We need some mechanism to log from state scripts.  Right now the example-state-scripts recipe echoes to stdout but as near as I can tell that information is not available anywhere.  I have a workaround of manually writing to a file in /data but it would be nice if state script stdout and/or stderr were available in "journalctl -u mender.service" or some other standard logging mechanism.

        Attachments

          Activity

            People

            • Assignee:
              oleorhagen Ole Petter Orhagen
              Reporter:
              drewmoseley Drew Moseley
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Zendesk Support

                  Summary Panel