aws-flow-ruby icon indicating copy to clipboard operation
aws-flow-ruby copied to clipboard

How to set the log level?

Open whatupdave opened this issue 9 years ago • 1 comments

Looking to get debug statements but I'm not sure how to set this up. I'm using the aws-flow-ruby command line utility to start the workers.

whatupdave avatar Nov 13 '15 22:11 whatupdave

Havn't found a good way. Copied the runner.rb and patched the

worker = ActivityWorker.new(swf.client, domain, task_list) {{ execution_workers: fork_count }}

call to

worker = ActivityWorker.new(swf.client, domain, task_list) {{ execution_workers: fork_count, logger: Logger.new(STDOUT)}}

sannies avatar Apr 19 '16 06:04 sannies