You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Log Monitor wraps log lines in XML if the format is custom
To Reproduce
Steps to reproduce the behavior: Run LogMonitor against a process logging something to stdout
Result: <Log><Source>Process</Source><LogEntry><Logline>{\"timestamp\":\"2024-05-03T14:55:51.032Z\",\"level\":\"DEBUG\",\"class\":\"Microsoft.AspNetCore.Server.Kestrel.Connections\",\"message\":\"Connection id \\\"0HN3BFISO209V\\\" accepted.\"}</Logline></LogEntry></Log>
Expected behavior
if custom format is enabled then the output of the process should be logged as-is
Describe the bug
Log Monitor wraps log lines in XML if the format is custom
To Reproduce
Steps to reproduce the behavior: Run LogMonitor against a process logging something to stdout
Result:
<Log><Source>Process</Source><LogEntry><Logline>{\"timestamp\":\"2024-05-03T14:55:51.032Z\",\"level\":\"DEBUG\",\"class\":\"Microsoft.AspNetCore.Server.Kestrel.Connections\",\"message\":\"Connection id \\\"0HN3BFISO209V\\\" accepted.\"}</Logline></LogEntry></Log>
Expected behavior
if custom format is enabled then the output of the process should be logged as-is
Screenshots
![image](https://private-user-images.githubusercontent.com/16915947/327795240-c2b60086-33cc-436f-8de8-2c8114f01bb4.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjA1NzU3MTQsIm5iZiI6MTcyMDU3NTQxNCwicGF0aCI6Ii8xNjkxNTk0Ny8zMjc3OTUyNDAtYzJiNjAwODYtMzNjYy00MzZmLThkZTgtMmM4MTE0ZjAxYmI0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzEwVDAxMzY1NFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQwYWJjZjc2ZjUxYWNiYzE2MWQ2NTU0NGMwMDJlYzFiMDJiZmM0NmFiYTI0ZWZkM2U0YWZjN2U2ZWMzYWY3MWUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.xt5FVpcLBW9j65OWt73uUZGEpNooCyqM3QbAg-wl9vE)
Configuration
-Tool: Log Monitor
-Version: 2.0.1-rc2
The text was updated successfully, but these errors were encountered: