[PR #2362] [MERGED] fix: include remote IP address in HTTP request logs #8214

Closed
opened 2026-04-20 18:05:35 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-vikunja/vikunja/pull/2362
Author: @tink-bot
Created: 3/4/2026
Status: Merged
Merged: 3/4/2026
Merged by: @kolaente

Base: mainHead: fix-http-log-remote-ip


📝 Commits (1)

  • 1aa02cb fix: include remote IP address in HTTP request logs

📊 Changes

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

View changed files

📝 pkg/routes/routes.go (+3 -0)

📄 Description

Summary

  • Adds LogRemoteIP: true to the Echo RequestLoggerWithConfig middleware configuration
  • Includes remote_ip field in both success and error HTTP log entries

Fixes #2177

Context

The HTTP request logger was missing the remote IP address, making it difficult to trace requests back to their origin. This adds the remote_ip field to all HTTP request log output.


🔄 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/go-vikunja/vikunja/pull/2362 **Author:** [@tink-bot](https://github.com/tink-bot) **Created:** 3/4/2026 **Status:** ✅ Merged **Merged:** 3/4/2026 **Merged by:** [@kolaente](https://github.com/kolaente) **Base:** `main` ← **Head:** `fix-http-log-remote-ip` --- ### 📝 Commits (1) - [`1aa02cb`](https://github.com/go-vikunja/vikunja/commit/1aa02cbc3f2edc5337d07f5f7e87a4bc59786189) fix: include remote IP address in HTTP request logs ### 📊 Changes **1 file changed** (+3 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `pkg/routes/routes.go` (+3 -0) </details> ### 📄 Description ## Summary - Adds `LogRemoteIP: true` to the Echo `RequestLoggerWithConfig` middleware configuration - Includes `remote_ip` field in both success and error HTTP log entries Fixes #2177 ## Context The HTTP request logger was missing the remote IP address, making it difficult to trace requests back to their origin. This adds the `remote_ip` field to all HTTP request log output. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-20 18:05:35 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vikunja#8214