Commit 6774b721 authored by Jürgen Haas's avatar Jürgen Haas

Introduce a new env variable FLUENTD_COMPANY

parent 63bd69e4
......@@ -38,6 +38,7 @@ class CallbackModule(CallbackBase):
fluent-logger
This plugin makes use of the following environment variables:
FLUENTD_COMPANY (optional): any string to separate multiple inventories
FLUENTD_SERVER (optional): defaults to localhost
FLUENTD_PORT (optional): defaults to 24224
FLUENTD_TYPE (optional): defaults to ansible
......@@ -70,7 +71,7 @@ class CallbackModule(CallbackBase):
self.logger.addHandler(self.handler)
self.hostname = socket.gethostname()
self.session = str(uuid.uuid1())
self.company = os.getenv('ANSIBLE_COMPANY', '')
self.company = os.getenv('FLUENTD_COMPANY', '')
self.errors = 0
self.index = 0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment