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

This commit is contained in:
Michael Vines
2019-11-06 08:23:13 -07:00
committed by GitHub
parent 5c1abaf43c
commit b5074d8577
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,