Skip to content

[FEAT] Create a Discord Bot to read logs from Prod #168

Description

@luabida

Create a discord bot that can connect to a log file and stream them to a Discord Webhook.
In order to accomplish this, it will need to refactor the logging system to avoid capturing unwanted logs.

Some ideas I have are:

  • A new project specific to the Bot
  • Centralizing all the logs into the same parent directory and different directories to each service
  • A log tag, e.g: [DISCORD] or [BOT]
  • Using discord.py to create the async log extraction methods
  • ? Have the bot service running in a container
  • Update the discord message instead of generating a message to each log
  • A system in the discord that can connect the bot to a log file and configure its regex search

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions