Persisting current day's logs to json