- tm = gmtime (&date);
- if (tm == NULL)
- INTERNAL_ERROR ("gmtime failed on thread %s.", id);
-
- if (strftime (timestamp, sizeof (timestamp), "%s", tm) == 0)
- INTERNAL_ERROR ("strftime failed on thread %s.", id);
-
- printf ("\"id\": %s,\n"
- "\"timestamp\": %s,\n"
+ printf ("\"thread\": %s,\n"
+ "\"timestamp\": %ld,\n"