Revision 3243
Added by Aaron Marcuse-Kubitza over 12 years ago
bin/map | ||
---|---|---|
114 | 114 |
|
115 | 115 |
# Logging |
116 | 116 |
verbose_errors = test and verbosity > 0 |
117 |
debug = verbosity > 1
|
|
117 |
debug = verbosity >= 1.5
|
|
118 | 118 |
def log(msg, level=1): |
119 | 119 |
'''Higher level -> more verbose''' |
120 | 120 |
if level <= verbosity: |
Also available in: Unified diff
bin/map: Logging: Raised debug-mode verbosity threshold to 1.5 so that in row-based imports, which have a default verbosity of 1.1, sql.DbConn.run_query() will not profile the query, to avoid unnecessary overhead