aboutsummaryrefslogtreecommitdiff
path: root/src/api/web.rs
diff options
context:
space:
mode:
authorDaniel García <[email protected]>2019-12-06 22:19:07 +0100
committerDaniel García <[email protected]>2019-12-06 22:46:12 +0100
commit8d1b72b9512b90775e671b7ba08cd552a0aabd13 (patch)
tree5366c63b69b6991154a9d0f5e0cb86f858ed9513 /src/api/web.rs
parent912e1f93b78625e5cfc1e53b5d8cd265b728dfc2 (diff)
downloadvaultwarden-8d1b72b9512b90775e671b7ba08cd552a0aabd13.tar.gz
vaultwarden-8d1b72b9512b90775e671b7ba08cd552a0aabd13.zip
Collapsed log messages from 3 lines per request to 2 and hidden the ones valued as less informative.
Use LOG_LEVEL debug or trace to recover them. Removed LOG_MOUNTS and bundled it with LOG_LEVEL debug and trace. Removed duplicate error messages Made websocket not proxied message more prominent, but only print it once.
Diffstat (limited to 'src/api/web.rs')
-rw-r--r--src/api/web.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/api/web.rs b/src/api/web.rs
index 24847b9e..72c89b5b 100644
--- a/src/api/web.rs
+++ b/src/api/web.rs
@@ -12,6 +12,8 @@ use crate::error::Error;
use crate::CONFIG;
pub fn routes() -> Vec<Route> {
+ // If addding more routes here, consider also adding them to
+ // crate::utils::LOGGED_ROUTES to make sure they appear in the log
if CONFIG.web_vault_enabled() {
routes![web_index, app_id, web_files, attachments, alive, static_files]
} else {