about summary refs log tree commit diff
path: root/src/libnative/io/timer_timerfd.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-03-15 23:01:24 -0700
committerbors <bors@rust-lang.org>2014-03-15 23:01:24 -0700
commitf6fcdbb68718380beca798d087c46152cad0949c (patch)
treec6b7fd10bb869fba19561852cf4eb286b0f96a4f /src/libnative/io/timer_timerfd.rs
parentabd844e4df068196d1150ac39d596f73e210d95d (diff)
parent0015cab1fd7b4b47030c808a825bb5594cc1d4ac (diff)
downloadrust-f6fcdbb68718380beca798d087c46152cad0949c.tar.gz
rust-f6fcdbb68718380beca798d087c46152cad0949c.zip
auto merge of #12791 : alexcrichton/rust/liblog, r=brson
The rationale and modifications can be found in the first commit message.

This does make logging a bit more painful to use initially because it involves a feature gate and some `phase` attributes, but I think it may be reasonable to not require the `phase` attribute for loading `macro_rules!` macros because defining them will still be gated.
Diffstat (limited to 'src/libnative/io/timer_timerfd.rs')
-rw-r--r--src/libnative/io/timer_timerfd.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/libnative/io/timer_timerfd.rs b/src/libnative/io/timer_timerfd.rs
index 1b0e08ca6fb..a8018bec0a6 100644
--- a/src/libnative/io/timer_timerfd.rs
+++ b/src/libnative/io/timer_timerfd.rs
@@ -89,10 +89,8 @@ fn helper(input: libc::c_int, messages: Receiver<Req>) {
         };
 
         let mut incoming = false;
-        debug!("{} events to process", n);
         for event in events.slice_to(n as uint).iter() {
             let fd = event.data as libc::c_int;
-            debug!("data on fd {} (input = {})", fd, input);
             if fd == input {
                 let mut buf = [0, ..1];
                 // drain the input file descriptor of its input