Skip to content

feat(openclaw-memory-plugin): add default log configuration#541

Merged
qin-ctx merged 2 commits intomainfrom
feat/openclaw-memory-plugin-log-config
Mar 12, 2026
Merged

feat(openclaw-memory-plugin): add default log configuration#541
qin-ctx merged 2 commits intomainfrom
feat/openclaw-memory-plugin-log-config

Conversation

@qin-ctx
Copy link
Copy Markdown
Collaborator

@qin-ctx qin-ctx commented Mar 12, 2026

Description

Add default log configuration section to the generated OpenViking config across all three install scripts. This ensures new installations have sensible logging defaults out of the box.

Related Issue

N/A

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Refactoring (no functional changes)
  • Performance improvement
  • Test update

Changes Made

  • Added log config section to install.sh (shell script)
  • Added log config section to install.ps1 (PowerShell script)
  • Added log config section to setup-helper/cli.js (Node.js CLI)

The log configuration includes:

  • Level: WARNING
  • Output: file
  • Log rotation enabled with 3-day retention at midnight interval

Testing

  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • I have tested this on the following platforms:
    • Linux
    • macOS
    • Windows

Checklist

  • My code follows the project coding style
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • Any dependent changes have been merged and published

Screenshots (if applicable)

N/A

Additional Notes

Generated with Claude Code

…l scripts

Add log section with WARNING level, file output, and 3-day rotation to the generated config across all install scripts (shell, PowerShell, and setup-helper CLI).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Mar 12, 2026

CLA assistant check
All committers have signed the CLA.

Resolve conflict: cli.js deleted upstream (replaced by install.js),
port log config to install.js.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@qin-ctx qin-ctx merged commit b505642 into main Mar 12, 2026
5 of 6 checks passed
@qin-ctx qin-ctx deleted the feat/openclaw-memory-plugin-log-config branch March 12, 2026 06:02
@github-project-automation github-project-automation bot moved this from Backlog to Done in OpenViking project Mar 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants