lphilippo/magento2-slack-logging

Module to activate logging to a specific Slack channel.

Installs: 1 135

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:magento2-module

1.0.7 2024-02-26 09:49 UTC

This package is auto-updated.

Last update: 2024-05-26 10:24:22 UTC


README

Simple module, just to add a configurable Slack log handler to Magento.

It's explicitely added on top of the existing log handlers, to prevent interference.

The configuration settings are limited to:

    <enabled>0</enabled>
    <log_level>500</log_level>
    <webhook_url></webhook_url>

It includes the possibility to prevent specific exceptions to not be forwarded to Slack, to prevent unwanted messaging in those cases.

It is expected that separate environments (production, staging) have different configurations for the webhook, in which case it's not critical to keep that distinction in the message itself. However, the MAGE_MODE is included in the username, just in case.