Features
Support
Purchase
Documentation
Download
Login
Register
Login
Register
Home
»
LogViewPlus Support
»
Configuration & Customization
»
Post Processing
Post Processing
Post Reply
Like
7
Post Processing
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
dv1sual
dv1sual
posted 5 Years Ago
ANSWER
Topic Details
Share Topic
Group: Forum Members
Posts: 10,
Visits: 22
Good morning!
I edited the CustomParser template to adapt LogViewPlus to the type of my logs, and it works fine.
What I did there it just introduces the Priority based on some string in my log lines.
Now I would like to Implement a post-processor where if the message in the log entry contains the word "error" it changes the priority of the line to "Error".
In the CustomParser i would use this:
newEntry.Priority = "Info";
if (logLine.Contains("error"))
{
newEntry.Priority = "Error";
}
But it's not working in the PostProcessor.
Any hint how do I do it?
Thanks in Advance for any advise!
Edited
5 Years Ago by
dv1sual
Reply
Like
7
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Threaded View
Threaded View
Post Processing
dv1sual
-
5 Years Ago
Good Morning! :-) From your description, this should be working fine....
LogViewPlus Support
-
5 Years Ago
Hi Toby, yes, i'm doing the debugging in Visual Studio. It gave me...
dv1sual
-
5 Years Ago
That's interesting. It looks like a compile error rather than a...
LogViewPlus Support
-
5 Years Ago
Hi Toby. yes, was a compile error. Now it compiles it, and it runs...
dv1sual
-
5 Years Ago
The code looks fine. When you say it doesn't work - what do you mean?...
LogViewPlus Support
-
5 Years Ago
Hi Toby, When I'm saying is not working I mean that when I open up my...
dv1sual
-
5 Years Ago
Thanks for the update. When you put a break point in your code, is it...
LogViewPlus Support
-
5 Years Ago
Hi Toby, you're a legend. I didn't add the post-processor to the...
dv1sual
-
5 Years Ago
Glad to that helped. Thanks for letting me know. :-) Toby
LogViewPlus Support
-
5 Years Ago
Post Reply
Like
7
Similar Topics
Post Quoted Reply
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search