no debug print needed
debug print is back
Check if Travis gives us text or json
Accept also json and text from Travis

This fixes 406 from Amazon. When logs get archived they are moved to Amazon
and served in plain text.