Revision 2453
Added by Aaron Marcuse-Kubitza over 12 years ago
map | ||
---|---|---|
108 | 108 |
|
109 | 109 |
# Logging |
110 | 110 |
debug = verbosity > 1 |
111 |
sql.run_raw_query.debug = debug |
|
112 | 111 |
def log(msg, level=1): |
113 | 112 |
'''Higher level -> more verbose''' |
114 | 113 |
if level <= verbosity: |
Also available in: Unified diff
bin/map: Logging: Don't set sql.run_raw_query.debug, because it is not used anymore (sql.connect(log_debug=...) is used instead)