Created
July 4, 2015 22:18
-
-
Save jondlm/75c49dac6c0004791830 to your computer and use it in GitHub Desktop.
Good logging examples
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
data: { | |
"event": "response", | |
"timestamp": 1436046421423, | |
"id": "1436046421423:jdelamotte:5282:ibpkyk17:10001", | |
"instance": "http://jdelamotte:8888", | |
"labels": [], | |
"method": "get", | |
"path": "/js/bundle.js", | |
"query": {}, | |
"responseTime": 8, | |
"statusCode": 304, | |
"pid": 5282, | |
"source": { | |
"remoteAddress": "127.0.0.1", | |
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36", | |
"referer": "http://localhost:8888/" | |
}, | |
"log": [ | |
{ | |
"request": "1436046421423:jdelamotte:5282:ibpkyk17:10001", | |
"timestamp": 1436046421424, | |
"tags": [ | |
"received" | |
], | |
"data": { | |
"id": "1436046421423:jdelamotte:5282:ibpkyk17:10001", | |
"method": "get", | |
"url": "/js/bundle.js", | |
"agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36" | |
}, | |
"internal": true | |
}, | |
{ | |
"request": "1436046421423:jdelamotte:5282:ibpkyk17:10001", | |
"timestamp": 1436046421428, | |
"tags": [ | |
"handler" | |
], | |
"data": { | |
"msec": 2.297545999288559 | |
}, | |
"internal": true | |
}, | |
{ | |
"request": "1436046421423:jdelamotte:5282:ibpkyk17:10001", | |
"timestamp": 1436046421431, | |
"tags": [ | |
"response" | |
], | |
"internal": true | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment