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

Set ReplicationRegionRaftActorStarter's logger name to its FQCN #178

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Enhance leader's replication response handling [PR#160](https://github.com/lerna-stack/akka-entity-replication/pull/160)
- Change event sourcing log level to debug
[PR#163](https://github.com/lerna-stack/akka-entity-replication/pull/163)
- ReplicationRegionRaftActorStarter uses its FQCN as its logger name
[PR178](https://github.com/lerna-stack/akka-entity-replication/pull/178)
- Add diagnostic logging to CommitLogStoreActor
[PR#164](https://github.com/lerna-stack/akka-entity-replication/pull/164)
- Add function extracting shard id from entity id to lerna.akka.entityreplication.typed.ClusterReplication
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ private[entityreplication] object ReplicationRegionRaftActorStarter {
): Behavior[Nothing] = {
Behaviors
.setup[Command] { context =>
context.setLoggerName(this.getClass)
val (disableIds, enableIds) = ids.partition(settings.disabledShards.contains)
if (disableIds.nonEmpty) {
context.log.info(
Expand Down