aws-flow-ruby
aws-flow-ruby copied to clipboard
How to set the log level?
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.
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)}}