Skip to content

add logging of sent messages #29

@kapil1garg

Description

@kapil1garg

in each of the feedbackFunctions, would be useful for debugging to know what messages were actually sent. Probably can instrument the sendSlackMessageToProjectChannel, sendSlackMessageToSigChannel, and sendSlackMessageToPeople functions.

Simple data structure:

// MessageLogSchema
{
  timestamp: Date as String // time when message was sent
  target {
    type: project|sig|people,
    projectName: String // project name if type is project; optional
    sigName: String // SIG name if type is SIG; optional
    people: String[] // list of people message was sent to if type is people; optional
  }
  message: String // message that was sent
  error: Object as String // error if happens
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions