Using cromwell-tools 1.1.2 (python 3.7.0), I was receiving duplicate log messages after importing CromwellAuth module and calling from_no_authentication function. This seems to be happening because the warning function was called on the logging module (instead of an instance of Logger). See below on how to replicate the issue:
[2019-04-09 11:27:48,260 my_module] [DEBUG] [test-logger.py:16 - <module>()] test1
WARNING:root:You are not using any authentication with Cromwell. For security purposes, please consider adding authentication in front of your Cromwell instance!
[2019-04-09 11:27:48,547 my_module] [DEBUG] [test-logger.py:21 - <module>()] test2
DEBUG:my_module:test2
Using cromwell-tools 1.1.2 (python 3.7.0), I was receiving duplicate log messages after importing CromwellAuth module and calling from_no_authentication function. This seems to be happening because the warning function was called on the logging module (instead of an instance of Logger). See below on how to replicate the issue: