Languages

Menu
Sites
Language
converting dlogutil output to json

Hi,

I have a log file and it contains the output from dlogutil.

Is there any tool/library for converting the output to JSON format?

(I'm working on Ubuntu 18 with Python 3)

thanks.

 

(this is the example of my log)

==== Log messages ( /usr/bin/dlogutil -d -v threadtime -u 16384)
01-04 20:11:44.918+0900 D/VINE     (P  481, T  481): libwebsockets-plugin.cpp:_debug_func(137) > [libwebsockets:16] lws_cancel_service
01-04 20:11:44.918+0900 D/VINE     (P  481, T  481): libwebsockets-plugin.cpp:websocket_init(816) > lws is initialized.