summaryrefslogtreecommitdiff
path: root/src/bin/obnam-server.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/obnam-server.rs')
-rw-r--r--src/bin/obnam-server.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/bin/obnam-server.rs b/src/bin/obnam-server.rs
index 5723b23..119ad3d 100644
--- a/src/bin/obnam-server.rs
+++ b/src/bin/obnam-server.rs
@@ -62,7 +62,9 @@ async fn main() -> anyhow::Result<()> {
.and(index.clone())
.and_then(delete_chunk);
- let webroot = create.or(fetch).or(search).or(delete);
+ let log = warp::log("obnam");
+ let webroot = create.or(fetch).or(search).or(delete).with(log);
+
warp::serve(webroot)
// .tls()
// .key_path(config_bare.tls_key)