Skip to content
This repository was archived by the owner on Sep 16, 2024. It is now read-only.

Commit 1a2fc4b

Browse files
committed
Nicer logging of deprecation
1 parent 2accca4 commit 1a2fc4b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/marklogic/mgmt/DefaultManageConfigFactory.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public ManageConfig newManageConfig() {
8080
else {
8181
prop = getProperty("mlAdminUsername");
8282
if (prop != null) {
83-
logger.info("DEPRECATED; please use mlSecurityUsername; Manage user with security role: " + prop);
83+
logger.info("mlAdminUsername is deprecated; please use mlSecurityUsername instead; Manage user with security role: " + prop);
8484
c.setSecurityUsername(prop);
8585
} else if (mlUsername != null) {
8686
logger.info("Manage user with security role: " + mlUsername);
@@ -96,7 +96,7 @@ public ManageConfig newManageConfig() {
9696
} else {
9797
prop = getProperty("mlAdminPassword");
9898
if (prop != null) {
99-
logger.info("DEPRECATED; please use mlSecurityPassword instead of mlAdminPassword");
99+
logger.info("mlAdminPassword is deprecated; please use mlSecurityPassword instead");
100100
c.setSecurityPassword(prop);
101101
} else if (mlPassword != null) {
102102
c.setSecurityPassword(mlPassword);

0 commit comments

Comments
 (0)