Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Process monitor adds XML when format is custom #171

Open
DmitrySenin opened this issue May 3, 2024 · 0 comments · Fixed by #175
Open

[BUG] Process monitor adds XML when format is custom #171

DmitrySenin opened this issue May 3, 2024 · 0 comments · Fixed by #175
Assignees
Labels
bug Something isn't working

Comments

@DmitrySenin
Copy link

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

Configuration
-Tool: Log Monitor
-Version: 2.0.1-rc2

@DmitrySenin DmitrySenin added the bug Something isn't working label May 3, 2024
@DmitrySenin DmitrySenin changed the title [BUG] Process monitor add XML when format is custom [BUG] Process monitor adds XML when format is custom May 3, 2024
@CharityKathure CharityKathure linked a pull request May 26, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants