mirror of
https://github.com/Cleanuparr/Cleanuparr.git
synced 2026-02-04 03:16:52 -06:00
[PR #279] [MERGED] Add configurable log retention #191
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 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:
main← Head:add_configurable_log_retention📝 Commits (10+)
f9a15e8added archive package and log flush on stop4e3c196added new logging propsb445606reworked the logging systemf8969a2updated configuration endpoints1793c7bintegrated new logging settings into the UI933ee53fixed frontend state handlingcdc1502fixed archive hooks2d6313cremoved weird error handler52ef3b1added documentation for new logging settings2cdc41cupdated 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.