about summary refs log tree commit diff
path: root/src/rt/rust_log.cpp
diff options
context:
space:
mode:
authorGraydon Hoare <graydon@mozilla.com>2012-11-15 12:03:45 -0800
committerGraydon Hoare <graydon@mozilla.com>2012-11-15 12:03:54 -0800
commit59a034a63fee084d503625d79ff986d0c12d1eaf (patch)
treea20a8478db8e3e72c5ef06a32550aba78d481cd6 /src/rt/rust_log.cpp
parentadc4bed773ea6af7343a5a6bbe46e288367fecee (diff)
downloadrust-59a034a63fee084d503625d79ff986d0c12d1eaf.tar.gz
rust-59a034a63fee084d503625d79ff986d0c12d1eaf.zip
rt: bump log levels up by one, fix tautological-compare error (and permit turning off logging entirely).
Diffstat (limited to 'src/rt/rust_log.cpp')
-rw-r--r--src/rt/rust_log.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rt/rust_log.cpp b/src/rt/rust_log.cpp
index 11671cf0326..5e478c7b18f 100644
--- a/src/rt/rust_log.cpp
+++ b/src/rt/rust_log.cpp
@@ -168,7 +168,7 @@ struct log_directive {
 
 const size_t max_log_directives = 255;
 const size_t max_log_level = 255;
-const size_t default_log_level = 0;
+const size_t default_log_level = log_err;
 
 // This is a rather ugly parser for strings in the form
 // "crate1,crate2.mod3,crate3.x=1". Log levels are 0-255,