Skip to content

Commit

Permalink
Update logger name to align with naming conventions (#1237)
Browse files Browse the repository at this point in the history
Original PR #1233.

JAVA-5210
  • Loading branch information
vbabanin authored Oct 27, 2023
1 parent d2cd51e commit db66a7c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
*/
@SuppressWarnings("deprecation")
public final class DefaultClusterFactory {
private static final Logger LOGGER = Loggers.getLogger("DefaultClusterFactory");
private static final Logger LOGGER = Loggers.getLogger("client");

public Cluster createCluster(final ClusterSettings originalClusterSettings, final ServerSettings originalServerSettings,
final ConnectionPoolSettings connectionPoolSettings,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class DefaultClusterFactoryTest {
"You appear to be connected to a DocumentDB cluster. For more information regarding "
+ "feature compatibility and support please visit https://www.mongodb.com/supportability/documentdb";

private static final Logger LOGGER = (Logger) LoggerFactory.getLogger("org.mongodb.driver.DefaultClusterFactory");
private static final Logger LOGGER = (Logger) LoggerFactory.getLogger("org.mongodb.driver.client");
private static final MemoryAppender MEMORY_APPENDER = new MemoryAppender();

@BeforeAll
Expand Down

0 comments on commit db66a7c

Please sign in to comment.