Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ The format is based on Keep a Changelog and this project adheres to Semantic Ver
- The `resend` mailer entry in `shared/config/mailer.php` and `RESEND_APIKEY` in `.env.example`.
- A `save_remote_images()` helper that downloads the demo images in parallel; `php qt demo` uses it.
- An API smoke test in CI.
- `logging.message.limit` and `mailer.transport_log_limit` in the config: the number of log messages and transport log lines kept in memory, both `1000` by default (framework #593).

### Changed
- `shared/config/lang.php` uses the 3.1 Lang format: `default` adapter (`file`, `deepl` or `google_translate`), `default_locale` and a section per remote adapter.
Expand Down
8 changes: 8 additions & 0 deletions shared/config/logging.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,12 @@
'path' => logs_dir(),
'level' => 'warning',
],

/**
* In debug mode the web app keeps its log messages in memory for the debug toolbar.
* Only the last `limit` messages are kept; 0 keeps every message.
*/
'message' => [
'limit' => 1000,
],
];
6 changes: 6 additions & 0 deletions shared/config/mailer.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@

'mail_trap' => true,

/**
* The number of transport log lines the mailer keeps: the SMTP exchange in debug mode
* and the errors of failed sends. 0 keeps every line.
*/
'transport_log_limit' => 1000,

'smtp' => [
'host' => env('MAIL_HOST'),
'secure' => env('MAIL_SMTP_SECURE'),
Expand Down
Loading