Add some debug output in StorageBackend::build_filepath_with_id()

This commit is contained in:
Matthias Beyer 2015-11-28 12:37:27 +01:00
parent 7531b5a6d7
commit 0d751f9ffd

View file

@ -238,8 +238,11 @@ impl StorageBackend {
self.prefix_of_files_for_module(owner) + "-" + &id[..] + ".imag" self.prefix_of_files_for_module(owner) + "-" + &id[..] + ".imag"
} }
fn prefix_of_files_for_module(&self, m: &Module) -> String { fn build_filepath_with_id(&self, id: FileID) -> String {
self.storepath.clone() + m.name() debug!("Building filepath with id");
debug!(" basepath: '{}'", self.basepath);
debug!(" id : '{}'", id);
self.basepath.clone() + &id[..]
} }
} }