How does JSON work?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

How does JSON work?

Stephan
I have the following log line:

{ "time": "2010-01-01 12:34:56.0000", "level": "ERROR", "message": "hello, world" }

taken from https://github.com/NLog/NLog/wiki/JsonLayout

When I drag and drop the log file to Log4View and select JSON as log format then the level column shows INFO, the date and time are default date and time and the message is empty.

What is required to show all JSON properties correctly as columns in Log4View?
Reply | Threaded
Open this post in threaded view
|

Re: How does JSON work?

XelaNimed
Hi Stephan,
I'm also interested in this issue. As far as I understand, at the moment there is no such possibility. Although from a technical point of view it is easy to do, because the line in the log file is already in a convenient format. At the moment, the lack of the ability to read the JSON file (wich produced with NLog) stops me from buying a license and recommending use for the enterprise purpose.
Reply | Threaded
Open this post in threaded view
|

Re: How does JSON work?

Ulrich
Administrator
We are currently working to implement the JSON format for the next = update.
So please have a bit more patience.

Ulrich
Reply | Threaded
Open this post in threaded view
|

Re: How does JSON work?

Stephan
Thank you for your answer.

Under http://www.log4view.com/features-usage/whats-new/ the feature is listed as "JSON file receiver for more compact log files" and JSON log format is already selectable in the UI that's why I assumed it's already implemented.

@XelaNimed Hi, good that I'm not the only one :)