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

fix: logger with proper class ref #1020

Merged
merged 1 commit into from
Apr 24, 2023

Conversation

sebastian-alfers
Copy link
Contributor

Popped up here.

@@ -52,7 +52,7 @@ final class Cleanup(systemProvider: ClassicActorSystemProvider, settings: Cleanu
import settings._
import system.dispatcher

private val log = Logging(system, getClass.asInstanceOf[Class[Any]])
Copy link
Member

Choose a reason for hiding this comment

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

why we have ever thought about logging it as Any? 🤷

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I was ignorant enough to take it from some other place, my bad. Will fix it in all places now.

Copy link
Member

Choose a reason for hiding this comment

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

The original reason was a hack to work around that Scala 3 didn't understand the implicits in the same way.

@johanandren johanandren merged commit 7282dc7 into akka:master Apr 24, 2023
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.

4 participants