Update logging and mail configurations; add export-ignore for GitHub files

- 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:42:23 +02:00
commit 94168dc5e6
No known key found for this signature in database
3 changed files with 5 additions and 2 deletions

1
.gitattributes vendored
View file

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

View file

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

View file

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