You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by up...@apache.org on 2019/10/30 22:31:07 UTC
[geode-examples] branch develop updated: GEODE-7177: Removing the
use of an internal logging class from clientSecurity
This is an automated email from the ASF dual-hosted git repository.
upthewaterspout pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode-examples.git
The following commit(s) were added to refs/heads/develop by this push:
new 6b2d1bc GEODE-7177: Removing the use of an internal logging class from clientSecurity
6b2d1bc is described below
commit 6b2d1bc5fb7cc2d0cc5d4fec51ba754217aa7fb1
Author: Dan Smith <up...@apache.org>
AuthorDate: Tue Oct 29 16:54:09 2019 -0700
GEODE-7177: Removing the use of an internal logging class from clientSecurity
---
.../main/java/org/apache/geode_examples/clientSecurity/Example.java | 4 ++--
.../org/apache/geode_examples/clientSecurity/ExampleAuthInit.java | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/clientSecurity/src/main/java/org/apache/geode_examples/clientSecurity/Example.java b/clientSecurity/src/main/java/org/apache/geode_examples/clientSecurity/Example.java
index 4f59f9e..9546b4f 100644
--- a/clientSecurity/src/main/java/org/apache/geode_examples/clientSecurity/Example.java
+++ b/clientSecurity/src/main/java/org/apache/geode_examples/clientSecurity/Example.java
@@ -17,16 +17,16 @@ package org.apache.geode_examples.clientSecurity;
import java.util.Properties;
import org.apache.commons.lang3.Validate;
+import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.apache.geode.cache.Region;
import org.apache.geode.cache.client.ClientCache;
import org.apache.geode.cache.client.ClientCacheFactory;
import org.apache.geode.cache.client.ClientRegionShortcut;
-import org.apache.geode.internal.logging.LogService;
public class Example implements AutoCloseable {
- private static final Logger logger = LogService.getLogger();
+ private static final Logger logger = LogManager.getLogger();
private static final String REGION1 = "region1";
private static final String REGION2 = "region2";
diff --git a/clientSecurity/src/main/java/org/apache/geode_examples/clientSecurity/ExampleAuthInit.java b/clientSecurity/src/main/java/org/apache/geode_examples/clientSecurity/ExampleAuthInit.java
index 57d3bdf..e6aa69d 100644
--- a/clientSecurity/src/main/java/org/apache/geode_examples/clientSecurity/ExampleAuthInit.java
+++ b/clientSecurity/src/main/java/org/apache/geode_examples/clientSecurity/ExampleAuthInit.java
@@ -16,17 +16,17 @@ package org.apache.geode_examples.clientSecurity;
import java.util.Properties;
+import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.apache.geode.LogWriter;
import org.apache.geode.distributed.DistributedMember;
-import org.apache.geode.internal.logging.LogService;
import org.apache.geode.security.AuthInitialize;
import org.apache.geode.security.AuthenticationFailedException;
public class ExampleAuthInit implements AuthInitialize {
- private static final Logger logger = LogService.getLogger();
+ private static final Logger logger = LogManager.getLogger();
private static final String USER_NAME = "security-username";
private static final String PASSWORD = "security-password";