mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 14:23:57 -07:00
Update logging and mail configurations; add export-ignore for GitHub files (#2042)
- 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:
parent
29dd78d7f1
commit
7edd5d313d
3 changed files with 5 additions and 2 deletions
1
.gitattributes
vendored
1
.gitattributes
vendored
|
@ -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
|
||||||
|
|
|
@ -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],
|
||||||
],
|
],
|
||||||
|
|
||||||
|
|
|
@ -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,
|
||||||
],
|
],
|
||||||
|
|
||||||
],
|
],
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue