Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
spring-cloud-netflix
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
openSource
spring-cloud-netflix
Commits
8022342e
Commit
8022342e
authored
Jul 13, 2017
by
Gregor Zurowski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove Lombok logging from spring-cloud-netflix-eureka-server module
Signed-off-by:
Gregor Zurowski
<
gregor@zurowski.org
>
parent
46cbaa05
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
8 deletions
+13
-8
EurekaServerBootstrap.java
...rk/cloud/netflix/eureka/server/EurekaServerBootstrap.java
+5
-3
EurekaServerInitializerConfiguration.java
...x/eureka/server/EurekaServerInitializerConfiguration.java
+4
-3
InstanceRegistry.java
...amework/cloud/netflix/eureka/server/InstanceRegistry.java
+4
-2
No files found.
spring-cloud-netflix-eureka-server/src/main/java/org/springframework/cloud/netflix/eureka/server/EurekaServerBootstrap.java
View file @
8022342e
...
...
@@ -34,14 +34,16 @@ import com.netflix.eureka.aws.AwsBinderDelegate;
import
com.netflix.eureka.registry.PeerAwareInstanceRegistry
;
import
com.netflix.eureka.util.EurekaMonitors
;
import
com.thoughtworks.xstream.XStream
;
import
lombok.extern.apachecommons.CommonsLog
;
import
org.apache.commons.logging.Log
;
import
org.apache.commons.logging.LogFactory
;
/**
* @author Spencer Gibb
*/
@CommonsLog
public
class
EurekaServerBootstrap
{
private
static
final
Log
log
=
LogFactory
.
getLog
(
EurekaServerBootstrap
.
class
);
private
static
final
String
TEST
=
"test"
;
private
static
final
String
ARCHAIUS_DEPLOYMENT_ENVIRONMENT
=
"archaius.deployment.environment"
;
...
...
spring-cloud-netflix-eureka-server/src/main/java/org/springframework/cloud/netflix/eureka/server/EurekaServerInitializerConfiguration.java
View file @
8022342e
...
...
@@ -18,6 +18,8 @@ package org.springframework.cloud.netflix.eureka.server;
import
javax.servlet.ServletContext
;
import
org.apache.commons.logging.Log
;
import
org.apache.commons.logging.LogFactory
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.cloud.netflix.eureka.server.event.EurekaRegistryAvailableEvent
;
import
org.springframework.cloud.netflix.eureka.server.event.EurekaServerStartedEvent
;
...
...
@@ -30,16 +32,15 @@ import org.springframework.web.context.ServletContextAware;
import
com.netflix.eureka.EurekaServerConfig
;
import
lombok.extern.apachecommons.CommonsLog
;
/**
* @author Dave Syer
*/
@Configuration
@CommonsLog
public
class
EurekaServerInitializerConfiguration
implements
ServletContextAware
,
SmartLifecycle
,
Ordered
{
private
static
final
Log
log
=
LogFactory
.
getLog
(
EurekaServerInitializerConfiguration
.
class
);
@Autowired
private
EurekaServerConfig
eurekaServerConfig
;
...
...
spring-cloud-netflix-eureka-server/src/main/java/org/springframework/cloud/netflix/eureka/server/InstanceRegistry.java
View file @
8022342e
...
...
@@ -19,6 +19,8 @@ package org.springframework.cloud.netflix.eureka.server;
import
java.util.List
;
import
com.netflix.eureka.lease.Lease
;
import
org.apache.commons.logging.Log
;
import
org.apache.commons.logging.LogFactory
;
import
org.springframework.beans.BeansException
;
import
org.springframework.cloud.netflix.eureka.server.event.EurekaInstanceCanceledEvent
;
import
org.springframework.cloud.netflix.eureka.server.event.EurekaInstanceRegisteredEvent
;
...
...
@@ -35,16 +37,16 @@ import com.netflix.eureka.EurekaServerConfig;
import
com.netflix.eureka.registry.PeerAwareInstanceRegistryImpl
;
import
com.netflix.eureka.resources.ServerCodecs
;
import
lombok.extern.apachecommons.CommonsLog
;
import
org.springframework.context.ApplicationEvent
;
/**
* @author Spencer Gibb
*/
@CommonsLog
public
class
InstanceRegistry
extends
PeerAwareInstanceRegistryImpl
implements
ApplicationContextAware
{
private
static
final
Log
log
=
LogFactory
.
getLog
(
InstanceRegistry
.
class
);
private
ApplicationContext
ctxt
;
private
int
defaultOpenForTrafficCount
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment