Skip to content

Commit

Permalink
Tweak logger names
Browse files Browse the repository at this point in the history
  • Loading branch information
archseer committed Jan 3, 2025
1 parent 15ac05c commit 66d8f22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/capabilities/ccip/oraclecreator/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ func (i *pluginOracleCreator) createFactoryAndTransmitter(
if !exists {
return nil, nil, fmt.Errorf("unsupported chain %v", chainFamily)
}
messageHasher := plugin.MessageHasher(i.lggr.Named("MessageHasherV1"))
messageHasher := plugin.MessageHasher(i.lggr.Named(chainFamily + ".MessageHasherV1"))

if config.Config.PluginType == uint8(cctypes.PluginTypeCCIPCommit) {
if !i.peerWrapper.IsStarted() {
Expand All @@ -292,7 +292,7 @@ func (i *pluginOracleCreator) createFactoryAndTransmitter(
publicConfig.DeltaRound,
)

rmnCrypto := plugin.RMNCrypto(i.lggr.Named("RMNCrypto"))
rmnCrypto := plugin.RMNCrypto(i.lggr.Named(chainFamily + ".RMNCrypto"))

factory = commitocr3.NewPluginFactory(
i.lggr.
Expand Down

0 comments on commit 66d8f22

Please sign in to comment.