Enable JSON RPC request/response logging by default (#6758) (#6762)

automerge
This commit is contained in:
mergify[bot]
2019-11-06 08:50:28 -08:00
committed by Grimes
parent 60efe30911
commit 6b6d5ba4bb
2 changed files with 8 additions and 1 deletions

View File

@@ -53,6 +53,7 @@ impl RpcRequestMiddleware {
}
fn get(&self, filename: &str) -> RequestMiddlewareAction {
info!("get {}", filename);
let filename = self.ledger_path.join(filename);
RequestMiddlewareAction::Respond {
should_validate_hosts: true,