[VOL-650] Fix dashd exception as well as remove fluentd reference
in the code.
Change-Id: I9b8dfca45bb93d2fe91b2e0bcb136d5248ee9438
diff --git a/dashd/main.py b/dashd/main.py
index ba9c242..f51a8ff 100755
--- a/dashd/main.py
+++ b/dashd/main.py
@@ -44,7 +44,6 @@
topic=os.environ.get('KAFKA_TOPIC', 'voltha.kpis'),
docker_host=os.environ.get('DOCKER_HOST', None),
- fluentd=os.environ.get('FLUENTD', None),
instance_id=os.environ.get('INSTANCE_ID', os.environ.get('HOSTNAME', '1')),
internal_host_address=os.environ.get('INTERNAL_HOST_ADDRESS',
get_my_primary_local_ipv4()),
@@ -95,15 +94,6 @@
default=defs['docker_host'],
help=_help)
- _help = ('<hostname>:<port> to fluentd server (default: %s). (If not '
- 'specified (None), the address from the config file is used'
- % defs['fluentd'])
- parser.add_argument('-F', '--fluentd',
- dest='fluentd',
- action='store',
- default=defs['fluentd'],
- help=_help)
-
_help = ('unique string id of this netconf server instance (default: %s)'
% defs['instance_id'])
parser.add_argument('-i', '--instance-id',
@@ -184,8 +174,7 @@
verbosity_adjust = (args.verbose or 0) - (args.quiet or 0)
self.log = setup_logging(self.config.get('logging', {}),
args.instance_id,
- verbosity_adjust=verbosity_adjust,
- fluentd=args.fluentd)
+ verbosity_adjust=verbosity_adjust)
self.dashd_server = None