[PR #279] [MERGED] Add configurable log retention #191

Closed
opened 2025-10-09 16:59:57 -05:00 by giteasync · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Cleanuparr/Cleanuparr/pull/279
Author: @Flaminel
Created: 8/17/2025
Status: Merged
Merged: 9/1/2025
Merged by: @Flaminel

Base: mainHead: add_configurable_log_retention


📝 Commits (10+)

  • f9a15e8 added archive package and log flush on stop
  • 4e3c196 added new logging props
  • b445606 reworked the logging system
  • f8969a2 updated configuration endpoints
  • 1793c7b integrated new logging settings into the UI
  • 933ee53 fixed frontend state handling
  • cdc1502 fixed archive hooks
  • 2d6313c removed weird error handler
  • 52ef3b1 added documentation for new logging settings
  • 2cdc41c updated db state

📊 Changes

28 files changed (+2092 additions, -639 deletions)

View changed files

📝 code/backend/Cleanuparr.Api/Controllers/ConfigurationController.cs (+49 -5)
📝 code/backend/Cleanuparr.Api/DependencyInjection/LoggingDI.cs (+4 -81)
📝 code/backend/Cleanuparr.Api/DependencyInjection/MainDI.cs (+0 -1)
📝 code/backend/Cleanuparr.Api/HostExtensions.cs (+11 -8)
📝 code/backend/Cleanuparr.Api/Program.cs (+12 -31)
📝 code/backend/Cleanuparr.Infrastructure/Cleanuparr.Infrastructure.csproj (+1 -0)
📝 code/backend/Cleanuparr.Infrastructure/Hubs/AppHub.cs (+2 -2)
code/backend/Cleanuparr.Infrastructure/Logging/ArchiveHooks.cs (+107 -0)
📝 code/backend/Cleanuparr.Infrastructure/Logging/LoggingConfigManager.cs (+117 -27)
📝 code/backend/Cleanuparr.Infrastructure/Logging/SignalRLogSink.cs (+15 -8)
📝 code/backend/Cleanuparr.Persistence/DataContext.cs (+38 -10)
📝 code/backend/Cleanuparr.Persistence/EventsContext.cs (+34 -14)
code/backend/Cleanuparr.Persistence/Migrations/Data/20250816183837_AddAdvancedLoggingSettings.Designer.cs (+674 -0)
code/backend/Cleanuparr.Persistence/Migrations/Data/20250816183837_AddAdvancedLoggingSettings.cs (+88 -0)
📝 code/backend/Cleanuparr.Persistence/Migrations/Data/DataContextModelSnapshot.cs (+161 -132)
📝 code/backend/Cleanuparr.Persistence/Models/Configuration/General/GeneralConfig.cs (+5 -2)
code/backend/Cleanuparr.Persistence/Models/Configuration/General/LoggingConfig.cs (+58 -0)
📝 code/frontend/src/app/core/services/documentation.service.ts (+7 -1)
📝 code/frontend/src/app/core/utils/error-handler.util.ts (+0 -36)
📝 code/frontend/src/app/settings/download-cleaner/download-cleaner-settings.component.ts (+2 -9)

...and 8 more files

📄 Description

Closes #276


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Cleanuparr/Cleanuparr/pull/279 **Author:** [@Flaminel](https://github.com/Flaminel) **Created:** 8/17/2025 **Status:** ✅ Merged **Merged:** 9/1/2025 **Merged by:** [@Flaminel](https://github.com/Flaminel) **Base:** `main` ← **Head:** `add_configurable_log_retention` --- ### 📝 Commits (10+) - [`f9a15e8`](https://github.com/Cleanuparr/Cleanuparr/commit/f9a15e8133fe9a7a6700200ae862e7c03f5f48b0) added archive package and log flush on stop - [`4e3c196`](https://github.com/Cleanuparr/Cleanuparr/commit/4e3c196212b81ece90485755aa0b5b1c4d569f04) added new logging props - [`b445606`](https://github.com/Cleanuparr/Cleanuparr/commit/b445606a99a4ddb1f0a15ecd4eba377f244bbeae) reworked the logging system - [`f8969a2`](https://github.com/Cleanuparr/Cleanuparr/commit/f8969a2d1a6191e21078bbf3b379ef9c02f3874e) updated configuration endpoints - [`1793c7b`](https://github.com/Cleanuparr/Cleanuparr/commit/1793c7baee27b7cbb2e7e80051ab7a7221e23f95) integrated new logging settings into the UI - [`933ee53`](https://github.com/Cleanuparr/Cleanuparr/commit/933ee5317806b1515c2b43db1df82ade03c0a18c) fixed frontend state handling - [`cdc1502`](https://github.com/Cleanuparr/Cleanuparr/commit/cdc1502f494703c51915220fcc67bca4883d0b59) fixed archive hooks - [`2d6313c`](https://github.com/Cleanuparr/Cleanuparr/commit/2d6313c5cd34c9371127a8e6867b88984428ad34) removed weird error handler - [`52ef3b1`](https://github.com/Cleanuparr/Cleanuparr/commit/52ef3b16e82a80ec889052297c6f2fbfc9d807f3) added documentation for new logging settings - [`2cdc41c`](https://github.com/Cleanuparr/Cleanuparr/commit/2cdc41c95ff9deaf70c2052dd77017f4fbeca6b2) updated db state ### 📊 Changes **28 files changed** (+2092 additions, -639 deletions) <details> <summary>View changed files</summary> 📝 `code/backend/Cleanuparr.Api/Controllers/ConfigurationController.cs` (+49 -5) 📝 `code/backend/Cleanuparr.Api/DependencyInjection/LoggingDI.cs` (+4 -81) 📝 `code/backend/Cleanuparr.Api/DependencyInjection/MainDI.cs` (+0 -1) 📝 `code/backend/Cleanuparr.Api/HostExtensions.cs` (+11 -8) 📝 `code/backend/Cleanuparr.Api/Program.cs` (+12 -31) 📝 `code/backend/Cleanuparr.Infrastructure/Cleanuparr.Infrastructure.csproj` (+1 -0) 📝 `code/backend/Cleanuparr.Infrastructure/Hubs/AppHub.cs` (+2 -2) ➕ `code/backend/Cleanuparr.Infrastructure/Logging/ArchiveHooks.cs` (+107 -0) 📝 `code/backend/Cleanuparr.Infrastructure/Logging/LoggingConfigManager.cs` (+117 -27) 📝 `code/backend/Cleanuparr.Infrastructure/Logging/SignalRLogSink.cs` (+15 -8) 📝 `code/backend/Cleanuparr.Persistence/DataContext.cs` (+38 -10) 📝 `code/backend/Cleanuparr.Persistence/EventsContext.cs` (+34 -14) ➕ `code/backend/Cleanuparr.Persistence/Migrations/Data/20250816183837_AddAdvancedLoggingSettings.Designer.cs` (+674 -0) ➕ `code/backend/Cleanuparr.Persistence/Migrations/Data/20250816183837_AddAdvancedLoggingSettings.cs` (+88 -0) 📝 `code/backend/Cleanuparr.Persistence/Migrations/Data/DataContextModelSnapshot.cs` (+161 -132) 📝 `code/backend/Cleanuparr.Persistence/Models/Configuration/General/GeneralConfig.cs` (+5 -2) ➕ `code/backend/Cleanuparr.Persistence/Models/Configuration/General/LoggingConfig.cs` (+58 -0) 📝 `code/frontend/src/app/core/services/documentation.service.ts` (+7 -1) 📝 `code/frontend/src/app/core/utils/error-handler.util.ts` (+0 -36) 📝 `code/frontend/src/app/settings/download-cleaner/download-cleaner-settings.component.ts` (+2 -9) _...and 8 more files_ </details> ### 📄 Description Closes #276 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
giteasync added the
pull-request
label 2025-10-09 16:59:58 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Cleanuparr-Cleanuparr#191
No description provided.