Download the PHP package piotrpress/wp-sentry-async without Composer
On this page you can find all versions of the php package piotrpress/wp-sentry-async. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download piotrpress/wp-sentry-async
More information about piotrpress/wp-sentry-async
Files in piotrpress/wp-sentry-async
Package wp-sentry-async
Short Description This plugin allows you to send Sentry events asynchronously by writing them to a log file, which is then processed by a wp-cron job.
License GPL-3.0-or-later
Homepage https://github.com/PiotrPress/wordpress-sentry-async/
Informations about the package wp-sentry-async
WordPress Sentry Async
This plugin allows you to send Sentry events asynchronously by writing them to a log file, which is then processed by a wp-cron job.
Installation
- Install and activate WordPress Sentry plugin.
- Upload and activate WordPress Sentry Async plugin files to the
wp-content/plugins/wp-sentry-async
directory. - Add the following lines to your
wp-config.php
file, after theABSPATH
definition and before thewp-settings.php
inclusion:
Customization
To specify the path for the Sentry log file (default: wp-content/sentry.log
), add the following line to your wp-config.php
file before including the transport.php
file:
NOTE: Replace /path/to/your/sentry.log
with the actual path where you want to store the log file.
Rotation
To enable log rotation, you can define the log file path with a date suffix. This will create a new log file for each day, allowing you to manage logs more easily. Add the following line to your wp-config.php
file:
Requirements
Ensure that the web server has write permissions to log file and the file with the same name but with a .pos
extension.
PHP >= 8.2
version.
License
GPL v3 or later