Skip to content

Conversation

@meenu155
Copy link
Collaborator

@meenu155 meenu155 commented Nov 5, 2025

Summary

Explain the change in 1–3 sentences. Reference any related issues (e.g. Closes #123).

Type of Change

  • Feature
  • Bug fix
  • Chore / Refactor
  • Docs
  • Tests
  • CI / Build
  • Other

Motivation / Context

Why is this change needed? What problem does it solve or what capability does it add?

No dedicated UI existed for viewing, filtering, or searching service logs, making debugging difficult. Users had to check individual service logs separately.

Approach

Briefly describe how you implemented the change. Note any notable design decisions, trade-offs, or alternatives considered.
File-based JSON logging with daily rotation
New CLI logs command with filtering/export options
Enhanced admin dashboard with real-time WebSocket streaming
Updated all service templates with logging integration

CLI Impact

If this alters user-facing CLI behavior:

  • Added / changed flags? Describe.
  • Backward compatible? If breaking, explain migration path.
  • Sample invocation before vs after:
# before
# after

Generated Output Impact

List any new / modified scaffold files or structural differences (e.g. new template folder, changed Dockerfile pattern, compose changes, new preset behaviors).

Tests

Describe test coverage:

  • Added new test(s)
  • Updated existing test(s)
  • Manually smoke-tested locally
  • No tests needed (explain why)

If you ran the smoke scaffold locally, paste the command & confirm success:

node bin/index.js demo --services node --no-install --yes

Result: ✅ / ❌

Screenshots / Logs (Optional)

Add any helpful output (chalk-styled CLI messages, error reproduction, etc.).

Docs

  • Updated README.md if needed
  • Updated .github/copilot-instructions.md if internal conventions changed
  • Not applicable

Checklist

  • Code follows existing style (chalk usage, emoji prefixes, exit codes)
  • No accidental large asset additions outside templates/
  • Default ports preserved / conflicts handled
  • New service templates added to: choices array, defaultPorts, Dockerfile switch, compose mapping
  • Git history clean (no stray debug commits)
  • Dependency additions are minimal & justified

Open Questions / Follow-ups

List any TODOs or future enhancements not in this PR.


Thanks for contributing! 🎉

- Added logging initialization in scaffold.js for new services.
- Updated documentation to include a new "Service Logs" feature section.
- Created logs-feature.md detailing CLI and web-based log viewing capabilities.
- Enhanced Go service with structured logging and log retrieval endpoint.
- Integrated logging functionality in Node.js service with middleware for request logging.
- Implemented logging in Python FastAPI service with file-based logging.
- Added logging capabilities in Spring Boot service with structured log entries.
meenu155 and others added 5 commits November 5, 2025 19:46
…tion

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
@meenu155 meenu155 merged commit c5c29f5 into main Nov 5, 2025
14 checks passed
@meenu155 meenu155 deleted the feature/service-logs-ui branch November 5, 2025 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants