Colored Logging & Improved Backend Logs
Is your feature request related to a problem? Please describe. Currently, backend logs are plain text and can be hard to read when debugging multiple types of events (errors, warnings, info, sync progress). This makes tracing issues or monitoring sync activity less efficient.
Describe the solution you'd like
- Integrate charmbracelet/log for structured and colored logging.
- Use colors to differentiate log levels:
- Green = Info / Success
- Yellow = Warning
- Red = Error
- Include structured metadata (timestamp, component, task/file name) for better traceability.
- Optionally, add log levels (debug, info, warn, error) configurable via environment variables.
Describe alternatives you've considered
- Keep plain text logging (current approach) – harder to scan visually.
- Use other logging libraries – charmbracelet/log is lightweight, Go-native, and supports colors well.
Additional context Better logging will make debugging faster, improve observability in production, and help developers quickly identify sync failures or anomalies.
Impact
- Easier backend debugging.
- Faster identification of failed syncs or errors.
- Cleaner and more professional log output for development and production environments.
could please assign this to me? I also want to start with backend.
@its-me-abhishek Can you assign me. Thank you!
Are there any updates on this @Eshaan-byte ?
@its-me-abhishek Can I jump into it ??
@its-me-abhishek Yes working on it will commit in a few hours. Sorry about the delay!
@its-me-abhishek , Done, please check whenever you are free. Thank you!
Hi @its-me-abhishek, I'd like to work on this issue. I've completed my previous tasks, so please assign me a couple of new issues :)
Hi @its-me-abhishek ,
I noticed that the previous PR for this issue was closed without merging and there hasn't been recent activity.
Since this feature (structured/colored logging) is still open, I’d love to pick it up. I can review the feedback from the previous attempt to ensure the new implementation aligns with what the project needs.
Please let me know if I can proceed!
@its-me-abhishek If this issue has not been resolved yet, I would like to work on it. Please assign it to me if possible!