Skip to content
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

Improve logging context by using local logger instances #281

Merged
merged 30 commits into from
Jan 29, 2025

Conversation

ggVGc
Copy link
Contributor

@ggVGc ggVGc commented Jan 27, 2025

Followup of #280.
Improves logging by instantiating loggers in modules, rather than using the logger from the root ActorSystem directly, which improves context of log messages.
Along the way, I have also removed some unused imports and unused local values.

In the cases where a class was only using an ActorSystem for logging, I have opted for using the slf4j interface directly, like: val log = LoggerFactory.getLogger(getClass())

Copy link
Contributor

@emmaicos emmaicos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work! Just some minor comments and questions.

@ggVGc ggVGc force-pushed the valter/local-loggers branch from 90e6530 to 228619d Compare January 29, 2025 13:31
@ggVGc ggVGc merged commit 76c34a9 into master Jan 29, 2025
1 check passed
@ggVGc ggVGc deleted the valter/local-loggers branch January 29, 2025 13:51
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