diff options
Diffstat (limited to 'rust/src/apachelog.rs')
-rw-r--r-- | rust/src/apachelog.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rust/src/apachelog.rs b/rust/src/apachelog.rs index f502d99..4ab03ea 100644 --- a/rust/src/apachelog.rs +++ b/rust/src/apachelog.rs @@ -28,13 +28,13 @@ impl LogEntry { } pub fn done<R>(&mut self, _: &Response<R>) where R: Read { - self.status = 0; // not accessible + self.status = 0; // statuscode is not accessible :( self.print(); } #[inline(always)] fn print(&self) { - println!("{} - {} - [{}] \"{}\" {} {}", + info!("{} - {} - [{}] \"{}\" {} {}", self.remote_ip_address, self.remote_user, time::strftime("%d/%b/%Y %T %z", &self.time).unwrap(), |