Add the ability to log all Composer Stager process output to a file

Created on 22 May 2024, about 1 year ago
Updated 24 May 2024, about 1 year ago

Problem/Motivation

It would be incredibly helpful for forensic and debugging purposes if we were able to always log the output of rsync, along with how it was invoked, to a file.

Proposed resolution

Package Manager should provide LoggingBeginner, LoggingCommitter, and LoggingStager, which implement BeginnerInterface, CommitterInterface, and StagerInterface, respectively, and write the output of the invoked process to a file whose path is defined in config. If no log file path is set, then nothing gets logged.

✨ Feature request
Status

RTBC

Version

3.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States phenaproxima Massachusetts

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

  • Issue created by @phenaproxima
  • Status changed to Needs review about 1 year ago
  • πŸ‡ΊπŸ‡ΈUnited States phenaproxima Massachusetts
  • Status changed to RTBC about 1 year ago
  • πŸ‡ΊπŸ‡ΈUnited States phenaproxima Massachusetts

    Ted verbally RTBCed this in a Zoom with me.

  • Pipeline finished with Skipped
    about 1 year ago
    #179457
  • Status changed to Fixed about 1 year ago
  • πŸ‡ΊπŸ‡ΈUnited States phenaproxima Massachusetts
  • πŸ‡ΊπŸ‡ΈUnited States tedbow Ithaca, NY, USA

    I think there could be problems if the log file is within the project route itself

    We should open up another MR here to add the log file to the exclusions. I think if we don't on apply the previous version of the log file at the start of the stage would overwrite the one that has the latest entries

  • Status changed to Needs work about 1 year ago
  • πŸ‡ΊπŸ‡ΈUnited States tedbow Ithaca, NY, USA

    πŸ™ˆ

  • Merge request !1068Log beginner and committer duration β†’ (Open) created by phenaproxima
  • Pipeline finished with Failed
    about 1 year ago
    Total: 722s
    #180478
  • Pipeline finished with Failed
    about 1 year ago
    Total: 1276s
    #180483
  • πŸ‡ΊπŸ‡ΈUnited States phenaproxima Massachusetts
  • πŸ‡ΊπŸ‡ΈUnited States phenaproxima Massachusetts
  • Merge request !1073Issue #3449093 exclude PM log file β†’ (Open) created by tedbow
  • Status changed to RTBC about 1 year ago
  • πŸ‡ΊπŸ‡ΈUnited States phenaproxima Massachusetts
  • πŸ‡ΊπŸ‡ΈUnited States tedbow Ithaca, NY, USA

    I pushed up a commit because πŸ“Œ Support Drupal 11 Fixed change our gitlabci so wanted to test with those changes to be sure

    If it passes I will commit

  • Pipeline finished with Success
    13 days ago
    #504844
  • Pipeline finished with Success
    13 days ago
    #504898
  • Pipeline finished with Running
    13 days ago
    #504936
  • Pipeline finished with Failed
    9 days ago
    Total: 660s
    #507548
  • Pipeline finished with Failed
    9 days ago
    Total: 646s
    #507572
  • Pipeline finished with Failed
    7 days ago
    Total: 924s
    #509228
  • Pipeline finished with Failed
    7 days ago
    Total: 769s
    #509275
  • Pipeline finished with Canceled
    2 days ago
    Total: 485s
    #513062
  • Pipeline finished with Canceled
    2 days ago
    Total: 184s
    #513069
  • Pipeline finished with Failed
    2 days ago
    Total: 635s
    #513074
  • Pipeline finished with Failed
    2 days ago
    Total: 561s
    #513092
  • Pipeline finished with Failed
    1 day ago
    Total: 673s
    #514068
  • Pipeline finished with Success
    1 day ago
    Total: 880s
    #514076
  • Pipeline finished with Failed
    1 day ago
    Total: 726s
    #514118
  • Pipeline finished with Success
    1 day ago
    Total: 1936s
    #514130
  • Pipeline finished with Canceled
    1 day ago
    Total: 134s
    #514242
  • Pipeline finished with Failed
    1 day ago
    Total: 945s
    #514249
  • Pipeline finished with Failed
    1 day ago
    Total: 758s
    #514280
  • Pipeline finished with Failed
    1 day ago
    Total: 500s
    #514299
  • Pipeline finished with Success
    1 day ago
    Total: 899s
    #514305
  • Pipeline finished with Canceled
    1 day ago
    Total: 575s
    #514378
  • Pipeline finished with Failed
    1 day ago
    Total: 660s
    #514387
  • Pipeline finished with Success
    1 day ago
    Total: 1024s
    #514528
  • Pipeline finished with Canceled
    about 13 hours ago
    Total: 65s
    #514974
  • Pipeline finished with Failed
    about 13 hours ago
    Total: 890s
    #514976
  • Pipeline finished with Canceled
    about 9 hours ago
    Total: 196s
    #515130
  • Pipeline finished with Success
    about 9 hours ago
    Total: 1169s
    #515131
  • Pipeline finished with Success
    about 8 hours ago
    Total: 932s
    #515178
Production build 0.71.5 2024