This is an automated email from the ASF dual-hosted git repository.

fanningpj pushed a commit to branch logClusterLifecycleEvents
in repository https://gitbox.apache.org/repos/asf/incubator-pekko-samples.git

commit 91223acbf1a737bf62c5b7828fdd2d73b92de4a0
Author: Arnout Engelen <[email protected]>
AuthorDate: Fri Aug 31 13:44:10 2018 +0200

    Don't log lifecycle events by default
    
    But make it easy to enable
---
 akka-sample-cluster-scala/src/main/resources/application.conf | 9 ++++-----
 akka-sample-cluster-scala/src/main/resources/logback.xml      | 3 ++-
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/akka-sample-cluster-scala/src/main/resources/application.conf 
b/akka-sample-cluster-scala/src/main/resources/application.conf
index 8a44730..9d250bf 100644
--- a/akka-sample-cluster-scala/src/main/resources/application.conf
+++ b/akka-sample-cluster-scala/src/main/resources/application.conf
@@ -6,7 +6,11 @@ akka {
     provider = cluster
   }
   remote {
+
+    # Log lifecycle events at 'debug' level. To view them, either raise the
+    # level here or reduce the filtering in logback.xml
     log-remote-lifecycle-events = debug
+
     netty.tcp {
       hostname = "127.0.0.1"
       port = 0
@@ -20,13 +24,8 @@ akka {
 
   cluster {
     seed-nodes = [
-<<<<<<< Updated upstream
       "akka://[email protected]:2551",
       "akka://[email protected]:2552"]
-=======
-      "akka.tcp://ClusterSystem@my_localhost:2551",
-      "akka.tcp://ClusterSystem@my_localhost:2552"]
->>>>>>> Stashed changes
 
     # auto downing is NOT safe for production deployments.
     # you may want to use it during development, read more about it in the 
docs.
diff --git a/akka-sample-cluster-scala/src/main/resources/logback.xml 
b/akka-sample-cluster-scala/src/main/resources/logback.xml
index a2f9623..3d712d1 100644
--- a/akka-sample-cluster-scala/src/main/resources/logback.xml
+++ b/akka-sample-cluster-scala/src/main/resources/logback.xml
@@ -7,7 +7,8 @@
     </encoder>
   </appender>
 
-  <logger name="akka.remote.Remoting" level="DEBUG"/>
+  <!-- to enable lifecycle event logging: -->
+  <!--logger name="akka.remote.Remoting" level="DEBUG"/-->
 
   <root level="WARNING">
     <appender-ref ref="STDOUT" />


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to