collect log data into json file and server it from there