[PR #3859] [MERGED] filter handlebars logs #3351

Closed
opened 2026-03-03 09:58:30 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/dani-garcia/vaultwarden/pull/3859
Author: @stefan0xC
Created: 9/6/2023
Status: Merged
Merged: 10/8/2023
Merged by: @dani-garcia

Base: mainHead: prevent-handlebar-logs


📝 Commits (1)

📊 Changes

1 file changed (+9 additions, -0 deletions)

View changed files

📝 src/main.rs (+9 -0)

📄 Description

Currently when you set LOG_LEVEL=debug the output will be cluttered with (mostly unnecessary) [handlebars::render][DEBUG] logs. However, I don't think that we should show them. If we do want to show them we could add a special environment variable like we do with QUERY_LOGGER but I'm not really sure we need that (so I have not included it yet).


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/dani-garcia/vaultwarden/pull/3859 **Author:** [@stefan0xC](https://github.com/stefan0xC) **Created:** 9/6/2023 **Status:** ✅ Merged **Merged:** 10/8/2023 **Merged by:** [@dani-garcia](https://github.com/dani-garcia) **Base:** `main` ← **Head:** `prevent-handlebar-logs` --- ### 📝 Commits (1) - [`f96c5e8`](https://github.com/dani-garcia/vaultwarden/commit/f96c5e8a1e6a8afb2711141db5835de4b8813f50) filter handlebars logs ### 📊 Changes **1 file changed** (+9 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `src/main.rs` (+9 -0) </details> ### 📄 Description Currently when you set `LOG_LEVEL=debug` the output will be cluttered with (mostly unnecessary) `[handlebars::render][DEBUG]` logs. However, I don't think that we should show them. If we do want to show them we could add a special environment variable like we do with `QUERY_LOGGER` but I'm not really sure we need that (so I have not included it yet). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 09:58:30 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/vaultwarden#3351
No description provided.