From 6ec284ba70e736bc24523b279303cee46b06071a Mon Sep 17 00:00:00 2001 From: Yves Fischer Date: Thu, 15 Dec 2016 20:50:23 +0100 Subject: Replace switch -u with header X-Allowed-Jid --- rust/src/apachelog.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rust/src/apachelog.rs') 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(&mut self, _: &Response) 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(), -- cgit v1.2.1