feat(logging): implement log pruning functionality

- Add LogPruneService to handle the deletion of old logs based on retention settings.
- Create PruneLogsCommand to provide a console command for log pruning.
- Introduce PruneLogsMessage and PruneLogsHandler for message handling related to log pruning.
- Update the AST cache with new classes and their relationships.
This commit is contained in:
hamed
2026-07-01 21:50:51 +03:30
parent a31e8b4314
commit 7814bcc0de
27 changed files with 1667 additions and 802 deletions
@@ -22,6 +22,8 @@ class SiteConfigRepository extends ServiceEntityRepository
'support_phone' => '',
'max_cancel_hours_before' => '24',
'appointment_reminder_hours' => '2',
// logging (0 = نگهداری نامحدود)
'log_retention_days' => '90',
// payment gateways
'payment_test_mode' => '0',
'mellat_terminal_id' => '',