From 311d0b23e2755c02d7d0a6ae2aad4ebcf6616da3 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sat, 21 Jan 2017 12:57:30 +0100 Subject: [PATCH] Disable file/line in debug logging from Ruby --- libimagruby/src/imag.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libimagruby/src/imag.rs b/libimagruby/src/imag.rs index edeeb020..eb538899 100644 --- a/libimagruby/src/imag.rs +++ b/libimagruby/src/imag.rs @@ -77,7 +77,8 @@ methods!( debug!("Init logger with {}", lvl); let lgr = ImagLogger::new(lvl.to_log_level().unwrap()) .with_color(colored) - .with_prefix("[imag][ruby]".to_owned()); + .with_prefix("[imag][ruby]".to_owned()) + .with_dbg_file_and_line(false); Box::new(lgr) }) .map_err(|_| {