-
Notifications
You must be signed in to change notification settings - Fork 3
feat: Add base44 logs command
#193
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
🚀 Package Preview Available!Install this PR's preview build with npm: npm i @base44-preview/cli@0.0.28-pr.193.a9c5c3aPrefer not to change any import paths? Install using npm alias so your code still imports npm i "base44@npm:@base44-preview/cli@0.0.28-pr.193.a9c5c3a"Or add it to your {
"dependencies": {
"base44": "npm:@base44-preview/cli@0.0.28-pr.193.a9c5c3a"
}
}
Preview published to npm registry — try new features instantly! |
- Shorten timestamp to readable format (YYYY-MM-DD HH:MM:SS) - Adjust column widths for better alignment - Dim the timestamp for visual hierarchy Co-authored-by: Cursor <cursoragent@cursor.com>
Code reviewFound 1 issue to address: CLAUDE.md Documentation MissingThe PR adds a new CLAUDE.md Rule (line 659):
What needs updating:
This documentation helps AI agents understand the logs architecture when working on related features. |
Co-authored-by: Cursor <cursoragent@cursor.com>
Code reviewNo issues found. Checked for bugs and CLAUDE.md compliance. |
Code reviewNo issues found. Checked for bugs and CLAUDE.md compliance. The PR correctly implements the |
Note
Description
Adds a new
base44 logscommand that provides unified log viewing for Base44 applications. The command fetches and displays both app-level audit logs (entity operations, function calls, auth events, user management) and function execution logs in a single view. Users can filter by specific functions, log levels, time ranges, and export results as JSON for programmatic access.Related Issue
None
Type of Change
Changes Made
base44 logscommand with comprehensive filtering options (--function, --level, --since, --until, --limit, --order, --json)src/core/logs/) with API client, Zod schemas, and workspace ID resolutionsrc/core/resources/function/api.ts,fetchFunctionLogs())Testing
npm test)Checklist
Additional Notes
Command Usage:
Architecture:
getWorkspaceId()) before fetching🤖 Generated by Claude | 2026-02-05 09:45 UTC