Fix incorrect data output for plugin query_logger (#601)

Update query_logger.rs

Pool and user were incorrectly swapped and needed to be fixed.
This commit is contained in:
Kevin Elliott
2023-09-25 18:45:51 -07:00
committed by GitHub
parent 037d232fcd
commit 04e9814770

View File

@@ -31,7 +31,7 @@ impl<'a> Plugin for QueryLogger<'a> {
.map(|q| q.to_string())
.collect::<Vec<String>>()
.join("; ");
info!("[pool: {}][user: {}] {}", self.user, self.db, query);
info!("[pool: {}][user: {}] {}", self.db, self.user, query);
Ok(PluginOutput::Allow)
}