Skip to content

Commit

Permalink
Merge pull request #178 from lerna-stack/set-replication-region-raft-…
Browse files Browse the repository at this point in the history
…actor-starter-logger-name

Set ReplicationRegionRaftActorStarter's logger name to its FQCN
  • Loading branch information
negokaz authored Nov 7, 2022
2 parents e7e0585 + 5dda635 commit 361b0ca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
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

0 comments on commit 361b0ca

Please sign in to comment.