batrick / ceph-linode

Launch Ceph using the Linode VPS provider
GNU General Public License v3.0
13 stars 10 forks source link

avoid excessive -vvv logging, pretty-print JSON #10

Closed bengland2 closed 6 years ago

bengland2 commented 7 years ago

Make the logs from ceph-ansible a lot more readable, which is important, particularly at scale. I never got anything useful from ansible by increasing logging to -vvv from -vv. The logs generated by this are very long and uninformative. The ANSIBLE_STDOUT_CALLBACK=debug change makes ansible output JSON strings in an indented form that is far more readable than the single-record JSON form that is the default.

batrick commented 7 years ago

I'm all for getting rid of -v completely there. What do you think?

bengland2 commented 6 years ago

I could live with a single -v, but need that much to see what went wrong, specifically what was done by each task and how it turned out. OK?

batrick commented 6 years ago

Sounds good to me.