How to disassemble log4net log4net?

I am using log4net for logging. Is there an easy way to parse result files?

+4
source share
4 answers

Why not save log entries in CSV or XML in the first place?

+5
source

You have full control over the output log file in terms of layout and fields, so you can specify one format that you can then analyze later.

in general, my approach is to make readable syntax for a person accessible in the log file, and also to use another add-on application to store information in the database, which I can then request later, having everything in db, convenience, because that it’s easy to execute the request and is β€œalready” formatted without having to manually analyze it ...

+4
source

Log4View is a useful tool in such situations.

+2
source

Json

Hi, my log4net.Ext.Json is now ready for testing. You can use it with nxlog xm_json parse_json () or logstash . I think JSON offers a good compromise between people and machines regarding readability and volume. I throw it all in elasticsearch and then look through kibana .

+1
source

All Articles