[PR #152] [CLOSED] Adds logging of incoming requests #778

Closed
opened 2025-12-29 15:33:11 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/wiremock/WireMock.Net/pull/152
Author: @MartijnSips
Created: 6/22/2018
Status: Closed

Base: masterHead: adds_logging_of_incomming_requests


📝 Commits (1)

  • 60843cc Adds logging of incomming requests

📊 Changes

4 files changed (+137 additions, -27 deletions)

View changed files

📝 src/WireMock.Net/Logging/IWireMockLogger.cs (+28 -0)
📝 src/WireMock.Net/Logging/WireMockConsoleLogger.cs (+52 -22)
📝 src/WireMock.Net/Logging/WireMockNullLogger.cs (+50 -5)
📝 src/WireMock.Net/Owin/WireMockMiddleware.cs (+7 -0)

📄 Description

Adds logging of the http method, url (including parameters) and body (in case of a post, patch or put).

Remark: Don't know how to log the response body yet.

See aswell issue: https://github.com/WireMock-Net/WireMock.Net/issues/151


🔄 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/wiremock/WireMock.Net/pull/152 **Author:** [@MartijnSips](https://github.com/MartijnSips) **Created:** 6/22/2018 **Status:** ❌ Closed **Base:** `master` ← **Head:** `adds_logging_of_incomming_requests` --- ### 📝 Commits (1) - [`60843cc`](https://github.com/wiremock/WireMock.Net/commit/60843cce46d3d2d7e6c4a0a2a1c4f74a91bac44a) Adds logging of incomming requests ### 📊 Changes **4 files changed** (+137 additions, -27 deletions) <details> <summary>View changed files</summary> 📝 `src/WireMock.Net/Logging/IWireMockLogger.cs` (+28 -0) 📝 `src/WireMock.Net/Logging/WireMockConsoleLogger.cs` (+52 -22) 📝 `src/WireMock.Net/Logging/WireMockNullLogger.cs` (+50 -5) 📝 `src/WireMock.Net/Owin/WireMockMiddleware.cs` (+7 -0) </details> ### 📄 Description Adds logging of the http method, url (including parameters) and body (in case of a post, patch or put). Remark: Don't know how to log the response body yet. See aswell issue: https://github.com/WireMock-Net/WireMock.Net/issues/151 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 15:33:11 +01:00
adam closed this issue 2025-12-29 15:33:11 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/WireMock.Net-wiremock#778