a12b904 fix consumer, add a test consumer, more logging

Authored and Committed by adamwill 7 years ago
    fix consumer, add a test consumer, more logging
    
    the consumer was broken due to one of my trademark indentation
    fails: the update function only got run for Autocloud messages
    because it was indented into that block...
    
    also add a test consumer (handy for, well, testing) which
    listens for dev not prod messages and writes to files in /tmp.
    Set up logging in the consumers, and do a bit more logging
    throughout, especially some more debug logging.
    
        
file modified
+50 -9
file modified
+2 -1