Skip to main content

Pioreactor Logs2Discord

This is a Pioreactor plugin to post a bioreactor's logs to a Discord channel.

Installation

This is a two part installation.

1. Setting up your Discord channel

  1. You probably want a dedicated channel for incoming logs, as it can get chatty. So go ahead and create a dedicated channel in your Discord channel. I've called mine experiment_logs.

  2. Under your server's dropdown, find "Server Settings" -> "Integrations"

  3. Click "Webhooks" -> "New webhook" to create your webhook. Give it a name like PioreactorLogs, and choose the channel from step 1. Here's an avatar icon you can use too:

    icon

  4. Copy the webhook URL to your clipboard. We'll need this in a moment.

2. Installing this plugin

  1. In your Pioreactor interface, click on "Plugins". Find pioreactor-logs2discord, and click "Install" beside it. Or you can run pio plugins install pioreactor-logs2discord. Either way, this plugin will be installed on your leader Pioreactor.

  2. After installing (should take less than a minute), click on "Configuration". At the bottom of the page will be a section called [logs2discord].

[logs2discord]
discord_webhook_url=
log_level=INFO

Add your webhook URL from step 4. here. Click "Save". You can also change the level of logs to report, see Python logging levels.

  1. Power-cycle (reboot) the Pioreactor leader, or ssh into the Pioreactor leader and run sudo systemctl restart pioreactor_startup_run@logs2discord.service

  2. In your dedicated Discord channel, you should start to see logs arrive!

Metadata

Release files for pioreactor-logs2discord 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pioreactor-logs2discord 0.3.0
File Size Uploaded
pioreactor_logs2discord-0.3.0.tar.gz 4.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pioreactor-logs2discord 0.3.0
File Interpreter ABI Platform
pioreactor_logs2discord-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 9.7 kB

Release files / pioreactor_logs2discord-0.3.0.tar.gz

Download URL pioreactor_logs2discord-0.3.0.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
d51d3a04a53d0dc20edf40689e38f26942ce7be8496f71ec1a26f3da34fc428f
BLAKE2b-256 checksum
How to use checksums
38bed9827f97ad0602a7b78492fa2bedf0e928282dca0345dcfbcc65731aaa9c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.0rc2

Release files / pioreactor_logs2discord-0.3.0-py3-none-any.whl

Download URL pioreactor_logs2discord-0.3.0-py3-none-any.whl
Size 5.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1de58e4b579009d104ae0a123a22061d572deb65797e2a300700de1932b9c3c1
BLAKE2b-256 checksum
How to use checksums
df4b841cc60ef6f946daf1ef7cb1783447818903eba2d6f6e4dbcd7af2951070
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.0rc2

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page