Skip to content

Commit

Permalink
set log level of dual read mode changes to info. (#925)
Browse files Browse the repository at this point in the history
  • Loading branch information
bohhyang authored Jul 25, 2023
1 parent 8a0e98f commit 08723de
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ and what APIs have changed, if applicable.

## [Unreleased]

## [29.43.10] - 2023-07-24
- set log level of dual read mode changes to info.

## [29.43.9] - 2023-07-18
- add `rest.idl.processEmptyIdlDir` property in `PegasusPlugin` to support IDL files auto generation
- If this property is true, plugin will create rest client gradle tasks even if IDL dir is empty.
Expand Down Expand Up @@ -5506,7 +5509,8 @@ patch operations can re-use these classes for generating patch messages.

## [0.14.1]

[Unreleased]: https://github.com/linkedin/rest.li/compare/v29.43.9...master
[Unreleased]: https://github.com/linkedin/rest.li/compare/v29.43.10...master
[29.43.10]: https://github.com/linkedin/rest.li/compare/v29.43.9...v29.43.10
[29.43.9]: https://github.com/linkedin/rest.li/compare/v29.43.8...v29.43.9
[29.43.8]: https://github.com/linkedin/rest.li/compare/v29.43.7...v29.43.8
[29.43.7]: https://github.com/linkedin/rest.li/compare/v29.43.6...v29.43.7
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,19 +79,19 @@ public DualReadStateManager(DualReadModeProvider dualReadModeProvider, Scheduled
public void updateGlobal(DualReadModeProvider.DualReadMode mode)
{
_dualReadMode = mode;
LOG.debug("Global dual read mode updated: " + mode);
LOG.info("Global dual read mode updated: {}", mode);
}

public void updateService(String service, DualReadModeProvider.DualReadMode mode)
{
_serviceDualReadModes.put(service, mode);
LOG.debug("Dual read mode for service " + service + " updated: " + mode);
LOG.info("Dual read mode for service {} updated: {}", service, mode);
}

public void updateCluster(String cluster, DualReadModeProvider.DualReadMode mode)
{
_clusterDualReadModes.put(cluster, mode);
LOG.debug("Dual read mode for cluster " + cluster + " updated: " + mode);
LOG.info("Dual read mode for cluster {} updated: {}", cluster, mode);
}

public DualReadModeProvider.DualReadMode getGlobalDualReadMode()
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version=29.43.9
version=29.43.10
group=com.linkedin.pegasus
org.gradle.configureondemand=true
org.gradle.parallel=true
Expand Down

0 comments on commit 08723de

Please sign in to comment.