I ran into an obscure stack trace (i.e. Yaml can't use utf-8 to decode some result) when I supplied my topology with a wrong python module. So I have to modify the original pyleus source code to narrow down which entry was giving me trouble. This PR will allow one to turn on verbose option and supply useful debug output.
Set log level to DEBUG if verbose option is ON
Sprinkle debug log before executing module for full topology
I ran into an obscure stack trace (i.e. Yaml can't use utf-8 to decode some result) when I supplied my topology with a wrong python module. So I have to modify the original pyleus source code to narrow down which entry was giving me trouble. This PR will allow one to turn on verbose option and supply useful debug output.
Example output:
DEBUG:pyleus.cli.build:Assemble component module: access_log_topology.s3_file_spout DEBUG:pyleus.cli.build:Assemble component module: access_log_topology.access_log_bolt