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:
+37
-17
@@ -810,8 +810,8 @@
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"src/Admin/Controller/AdminApiController.php": {
|
||||
"mtime": 1782750165.3401215,
|
||||
"ast_hash": "09658d49a5db4c963fdbb7a167c8a38f",
|
||||
"mtime": 1782929751.8803875,
|
||||
"ast_hash": "8e5c78db08130ce9f65763e3306cc291",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"src/Admin/Controller/AdminController.php": {
|
||||
@@ -1150,8 +1150,8 @@
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"src/Config/Controller/SiteConfigController.php": {
|
||||
"mtime": 1782893916.7348526,
|
||||
"ast_hash": "cb994abce239f65aa6ea56e240beaaf9",
|
||||
"mtime": 1782929760.8594074,
|
||||
"ast_hash": "1a0cbe1845407beebacb2eba7d07024a",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"src/Config/Entity/SiteConfig.php": {
|
||||
@@ -1165,8 +1165,8 @@
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"src/Config/Repository/SiteConfigRepository.php": {
|
||||
"mtime": 1782893889.148054,
|
||||
"ast_hash": "fafe887c5ba8de7a9185969f028a79d9",
|
||||
"mtime": 1782929759.6605961,
|
||||
"ast_hash": "d86906f3319b64f8ac975f31f438cac2",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"src/Config/Repository/TaxRateHistoryRepository.php": {
|
||||
@@ -1470,12 +1470,12 @@
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"src/Schedule.php": {
|
||||
"mtime": 1781551622.4124491,
|
||||
"ast_hash": "e2679b3623e4a90ba9997ba7d8f9cda1",
|
||||
"mtime": 1782929801.2075908,
|
||||
"ast_hash": "af316acd9e95a609a79930f784f9b0d7",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"src/Secretary/Controller/SecretaryController.php": {
|
||||
"mtime": 1782902851.0718935,
|
||||
"mtime": 1782929066.3195713,
|
||||
"ast_hash": "9cbf2e62e58b071b044dda089612dd4a",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
@@ -2230,8 +2230,8 @@
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"config/packages/messenger.yaml": {
|
||||
"mtime": 1781551622.4095502,
|
||||
"ast_hash": "44c3176965808e27425e9db57027b29b",
|
||||
"mtime": 1782929813.4472997,
|
||||
"ast_hash": "2bcd86d1b6bfe2890abcb27a71bb7c65",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"config/packages/nelmio_api_doc.yaml": {
|
||||
@@ -2340,8 +2340,8 @@
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"docs/api/admin.md": {
|
||||
"mtime": 1782750435.7712955,
|
||||
"ast_hash": "6a68974b5f71e8d4104ffea4cab99edf",
|
||||
"mtime": 1782930000.5470378,
|
||||
"ast_hash": "27318238aa2741292c79a491870ba31b",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"docs/api/appointment-settings.md": {
|
||||
@@ -3375,8 +3375,8 @@
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"assets/admin/pages/LogsPage.tsx": {
|
||||
"mtime": 1782750290.0145962,
|
||||
"ast_hash": "76db47af844faf3459083afa2ded8aaf",
|
||||
"mtime": 1782929861.6704445,
|
||||
"ast_hash": "2e9aed8e9f683011985c6c932644892a",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"migrations/Version20260629161536.php": {
|
||||
@@ -3390,8 +3390,8 @@
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"src/Shared/Logging/AppLogRepository.php": {
|
||||
"mtime": 1782749721.788873,
|
||||
"ast_hash": "b0bba22cca2483a041b2c719812d7729",
|
||||
"mtime": 1782929739.4106045,
|
||||
"ast_hash": "3cbcf00989521e8b47167454984b7314",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"src/Shared/Logging/DbLogger.php": {
|
||||
@@ -3483,5 +3483,25 @@
|
||||
"mtime": 1782896060.8114219,
|
||||
"ast_hash": "9d1436d8787330a1cb06c54c4e896069",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"src/Shared/Logging/Command/PruneLogsCommand.php": {
|
||||
"mtime": 1782929791.8492818,
|
||||
"ast_hash": "7ca54a0ec12d6d65f31ca365023eced1",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"src/Shared/Logging/LogPruneService.php": {
|
||||
"mtime": 1782929784.9897113,
|
||||
"ast_hash": "42fa8560fd10cfdfc42203baf01d4406",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"src/Shared/Logging/Message/PruneLogsMessage.php": {
|
||||
"mtime": 1782929786.004423,
|
||||
"ast_hash": "88c8235f5fd97e0410fe8dd634c59f7a",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"src/Shared/Logging/MessageHandler/PruneLogsHandler.php": {
|
||||
"mtime": 1782929788.2918966,
|
||||
"ast_hash": "7d306f9d2eba4693cd01ff21f2eda173",
|
||||
"semantic_hash": ""
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user