Repository navigation
cleverage/ui-process-bundle#147 - Add demo.logs.retention - #80
Merged
Merged
Conversation
Process with its own log retention ("logs" option: database_max_days 1, file_max_days 7), purged by the cleverage:ui-process:purge-logs command.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Demonstration of cleverage/ui-process-bundle#147 (log retention), implemented by cleverage/ui-process-bundle#148.
bin/console cleverage:process:execute demo.logs.retention bin/console cleverage:ui-process:purge-logs --dry-run # then without --dry-run to deletedemo.logs.retentionlogs 3 items and overrides the bundle retention (nullin the demo: kept) with itslogsoption:database_max_days: 1,file_max_days: 7. Checked on the demo MySQL database:--dry-run: nothing to delete.log_recordrows moved 2 days back, its log file 8 days back):--dry-runcounts 12 records and 1 file, the purge deletes them; the second execution keeps its 12 records and its file, both executions are kept.Requires cleverage/ui-process-bundle#148 (merged, not released yet):
composer.lockstill pins v3.1.1, where thelogsoption is unknown (options resolver error for this process). To update once the release is out.Requirements
Breaking changes
None (new demo process only).
🤖 Generated with Claude Code