[CORD-3090] Remove Filebeat logging
Change-Id: Ieebfbaef03e878d6d5c3d8875c29272913ad0603
diff --git a/Dockerfile.synchronizer b/Dockerfile.synchronizer
index 215612c..de46fb8 100644
--- a/Dockerfile.synchronizer
+++ b/Dockerfile.synchronizer
@@ -1,4 +1,3 @@
-
# Copyright 2017-present Open Networking Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -13,8 +12,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-# docker build -t xosproject/simpleexampleservice-ynchronizer:candidate -f Dockerfile.synchronizer .
-
# xosproject/simpleexampleservice-synchronizer
FROM xosproject/xos-synchronizer-base:candidate
@@ -22,8 +19,6 @@
COPY xos/synchronizer /opt/xos/synchronizers/simpleexampleservice
COPY VERSION /opt/xos/synchronizers/simpleexampleservice/
-ENTRYPOINT []
-
WORKDIR "/opt/xos/synchronizers/simpleexampleservice"
# Label image
@@ -55,5 +50,4 @@
org.opencord.component.xos.vcs-url=$org_opencord_component_xos_vcs_url \
org.opencord.component.xos.vcs-ref=$org_opencord_component_xos_vcs_ref
-CMD bash -c "service filebeat start; cd /opt/xos/synchronizers/simpleexampleservice; python simpleexampleservice-synchronizer.py"
-
+CMD ["/usr/bin/python", "/opt/xos/synchronizers/simpleexampleservice/simpleexampleservice-synchronizer.py"]
diff --git a/xos/synchronizer/simpleexampleservice-synchronizer.py b/xos/synchronizer/simpleexampleservice-synchronizer.py
index d819675..7caa954 100644
--- a/xos/synchronizer/simpleexampleservice-synchronizer.py
+++ b/xos/synchronizer/simpleexampleservice-synchronizer.py
@@ -1,3 +1,4 @@
+#!/usr/bin/env python
# Copyright 2017-present Open Networking Foundation
#
@@ -13,9 +14,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-
-#!/usr/bin/env python
-
# Runs the standard XOS synchronizer
import importlib