title: How to log the contents of a ConfigParser?
body: <p>How can I print the contents of a Python 2.7 <code>ConfigParser</code> to <code>logging</code>? </p>
  
  <p>The only solution I can find is to write to a temporary file and read that file back in. Another idea I had was to get a fake "file handle" from the logging utility and pass that to the ConfigParser write method, but I don't know how to get such a handle form logging.</p>