Update logging and mail configurations; add export-ignore for GitHub files (#2042)
Some checks failed
Deploy Documentation to GitHub Pages / Build Documentation (push) Has been cancelled
Deploy Documentation to GitHub Pages / Deploy to GitHub Pages (push) Has been cancelled

- Modified logging.php to adjust the handler_with configuration and reposition the formatter setting for clarity.
- Updated mail.php to include a 'retry_after' setting for both SMTP and roundrobin mail configurations, enhancing mail delivery reliability.
- Added export-ignore for the .github directory in .gitattributes to exclude it from package exports.
This commit is contained in:
Yury Pikhtarev 2025-07-10 00:47:16 +02:00 committed by GitHub
commit 7edd5d313d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 5 additions and 2 deletions

1
.gitattributes vendored
View file

@ -6,6 +6,7 @@
*.md diff=markdown
*.php diff=php
/.github export-ignore
CHANGELOG.md export-ignore
LICENSE export-ignore
README.md export-ignore

View file

@ -98,10 +98,10 @@ return [
'driver' => 'monolog',
'level' => env('LOG_LEVEL', 'debug'),
'handler' => StreamHandler::class,
'formatter' => env('LOG_STDERR_FORMATTER'),
'with' => [
'handler_with' => [
'stream' => 'php://stderr',
],
'formatter' => env('LOG_STDERR_FORMATTER'),
'processors' => [PsrLogMessageProcessor::class],
],

View file

@ -85,6 +85,7 @@ return [
'smtp',
'log',
],
'retry_after' => 60,
],
'roundrobin' => [
@ -93,6 +94,7 @@ return [
'ses',
'postmark',
],
'retry_after' => 60,
],
],