Have --debug set debug level on the logging module as well.

Review Request #2997 — Created March 22, 2012 and submitted — Latest diff uploaded

Information

RBTools

Reviewers

    Now we get full debug information.  Here is output using the debug
    flag now.  Every line that starts with DEBUG is new as of this change.
    
    % python rbtools/postreview.py -n -d
    >>> RBTools 0.4.1
    >>> Home = /home/csilvers
    DEBUG:root:git rev-parse --git-dir
    DEBUG:root:git config core.bare
    DEBUG:root:git symbolic-ref -q HEAD
    DEBUG:root:git config --get branch.master.merge
    DEBUG:root:git config --get branch.master.remote
    DEBUG:root:git config --get remote.origin.url
    DEBUG:root:repository info: Path: https://github.com/Khan/rbtools, Base path: , Supports changesets: False
    >>> HTTP GETting api/
    >>> HTTP GETting http://reviews.reviewboard.org/api/info/
    >>> Using the new web API
    DEBUG:root:git merge-base origin/master refs/heads/master
    DEBUG:root:git diff --no-color --full-index --no-ext-diff f226c46d6cd3fe76bfd8f07d3377c0aec83c0c15..refs/heads/master
    DEBUG:root:git log --pretty=format:%s HEAD^..
    DEBUG:root:git log --pretty=format:%s%n%n%b f226c46d6cd3fe76bfd8f07d3377c0aec83c0c15..
    diff --git a/rbtools/postreview.py b/rbtools/postreview.py
Running post-review manually.