snoopycrimecop/snoopycrimecop — pull request #28 by joshmoore (2012-12-17 09:56:22+00:00)
Title: Fix logging by setting right global variable

`log_level` was being set rather than SCC_DEBUG_LEVEL
which essentially disabled support for the env variables
even though `-q` and `-v` were working properly.

Now the following should all work:

```
@fix_logging_2 ~/code/scc.git $ ./scc.py merge master -v
10
@fix_logging_2 ~/code/scc.git $ SCC_DEBUG_LEVEL=40 ./scc.py merge master -v
30
@fix_logging_2 ~/code/scc.git $ SCC_DEBUG_LEVEL=40 ./scc.py merge master
40
@fix_logging_2 ~/code/scc.git $ SCC_DEBUG_LEVEL=10 ./scc.py merge master
10
@fix_logging_2 ~/code/scc.git $ SCC_DEBUG_LEVEL=10 ./scc.py merge master -q
20
```