Skip to content

Commit 8982b21

Browse files
committed
---
yaml --- r: 40391 b: refs/heads/dist-snap c: 59a034a h: refs/heads/master i: 40389: 5eb4861 40387: df7acbd 40383: 300d22f v: v3
1 parent 692f85f commit 8982b21

File tree

5 files changed

+15
-15
lines changed

5 files changed

+15
-15
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: a810c03263670238bccd64cabb12a23a46e3a278
99
refs/heads/incoming: e90142e536c150df0d9b4b2f11352152177509b5
10-
refs/heads/dist-snap: adc4bed773ea6af7343a5a6bbe46e288367fecee
10+
refs/heads/dist-snap: 59a034a63fee084d503625d79ff986d0c12d1eaf
1111
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1212
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
1313
refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0

branches/dist-snap/src/libcore/core.rs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -54,23 +54,23 @@ pub use coreops::ops::{Shl, Shr, Index};
5454
// warn-and-below.
5555

5656
/// The error log level
57-
pub const error : u32 = 0_u32;
57+
pub const error : u32 = 1_u32;
5858
/// The warning log level
59-
pub const warn : u32 = 1_u32;
59+
pub const warn : u32 = 2_u32;
6060
/// The info log level
61-
pub const info : u32 = 2_u32;
61+
pub const info : u32 = 3_u32;
6262
/// The debug log level
63-
pub const debug : u32 = 3_u32;
63+
pub const debug : u32 = 4_u32;
6464

6565
// A curious inner-module that's not exported that contains the binding
6666
// 'core' so that macro-expanded references to core::error and such
6767
// can be resolved within libcore.
6868
#[doc(hidden)] // FIXME #3538
6969
mod core {
70-
pub const error : u32 = 0_u32;
71-
pub const warn : u32 = 1_u32;
72-
pub const info : u32 = 2_u32;
73-
pub const debug : u32 = 3_u32;
70+
pub const error : u32 = 1_u32;
71+
pub const warn : u32 = 2_u32;
72+
pub const info : u32 = 3_u32;
73+
pub const debug : u32 = 4_u32;
7474
}
7575

7676
// Similar to above. Some magic to make core testable.

branches/dist-snap/src/librustc/rustc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ fn monitor(+f: fn~(diagnostic::emitter)) {
222222
for [
223223
~"the compiler hit an unexpected failure path. \
224224
this is a bug",
225-
~"try running with RUST_LOG=rustc=0,::rt::backtrace \
225+
~"try running with RUST_LOG=rustc=1,::rt::backtrace \
226226
to get further details and report the results \
227227
to github.com/mozilla/rust/issues"
228228
].each |note| {

branches/dist-snap/src/rt/rust_log.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ struct log_directive {
168168

169169
const size_t max_log_directives = 255;
170170
const size_t max_log_level = 255;
171-
const size_t default_log_level = 0;
171+
const size_t default_log_level = log_err;
172172

173173
// This is a rather ugly parser for strings in the form
174174
// "crate1,crate2.mod3,crate3.x=1". Log levels are 0-255,

branches/dist-snap/src/rt/rust_log.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44

55
#include "rust_globals.h"
66

7-
const uint32_t log_err = 0;
8-
const uint32_t log_warn = 1;
9-
const uint32_t log_info = 2;
10-
const uint32_t log_debug = 3;
7+
const uint32_t log_err = 1;
8+
const uint32_t log_warn = 2;
9+
const uint32_t log_info = 3;
10+
const uint32_t log_debug = 4;
1111

1212
#define LOG(task, field, ...) \
1313
DLOG_LVL(log_debug, task, task->sched_loop, field, __VA_ARGS__)

0 commit comments

Comments
 (0)