Skip to content

Improve application initialization logs#92

Merged
IvanildoBarauna merged 1 commit intomainfrom
feature/adding-logs-backend
Mar 4, 2026
Merged

Improve application initialization logs#92
IvanildoBarauna merged 1 commit intomainfrom
feature/adding-logs-backend

Conversation

@IvanildoBarauna
Copy link
Member

Summary

  • Enhanced the initialization logs with visual indicators (emojis) for better readability
  • Added environment context and process ID to the final success log
  • Improved error handling with clearer failure messages
  • Better structured log messages for easier debugging and troubleshooting

What Changed

  • Modified backend/src/infrastructure/dependencie_injection.py to improve logging during dependency initialization
  • Logs now show PostgreSQL adapter and Portfolio service initialization with clearer status indicators
  • Added environment (development/production) and process ID for better observability

Test Plan

  • Verify logs display correctly with emojis during application startup
  • Check that all initialization steps are properly logged
  • Verify error messages are displayed clearly if initialization fails
  • Confirm environment and PID are shown in the final success message

🤖 Generated with Claude Code

…and context

- Add visual indicators (emojis) for each initialization step
- Include environment and process ID in final success log
- Improve error logging with clearer failure messages
- Better structured log messages for easier debugging

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
@IvanildoBarauna IvanildoBarauna merged commit d1d2520 into main Mar 4, 2026
6 checks passed
@IvanildoBarauna IvanildoBarauna deleted the feature/adding-logs-backend branch March 4, 2026 18:57
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.

1 participant