fastify-graylog-reporter
Advanced tools
Comparing version 1.7.0 to 1.8.0
@@ -1,2 +0,2 @@ | ||
# [1.7.0](https://github.com/Blynskyniki/fastify-graylog-reporter/compare/v1.6.0...v1.7.0) (2023-10-12) | ||
# [1.8.0](https://github.com/Blynskyniki/fastify-graylog-reporter/compare/v1.7.0...v1.8.0) (2023-10-12) | ||
@@ -6,2 +6,2 @@ | ||
* short message format ([601585e](https://github.com/Blynskyniki/fastify-graylog-reporter/commit/601585ec06d6e27a7830a8e22694c4b21ed6de21)) | ||
* add auth headers to full message ([04402c5](https://github.com/Blynskyniki/fastify-graylog-reporter/commit/04402c5e56ed2d6bf444a7df4e25334aa0c490af)) |
@@ -16,5 +16,6 @@ "use strict"; | ||
host: (headers === null || headers === void 0 ? void 0 : headers['host']) || 'empty', | ||
short_message: `${routerMethod}:${routerPath} ${query ? JSON.stringify(query) : ''}${body ? JSON.stringify(body) : ''}`, | ||
short_message: `${routerMethod}:${routerPath} ${params ? 'params:' + JSON.stringify(params) : ''}${query ? 'query:' + JSON.stringify(query) : ''}${body ? 'body:' + JSON.stringify(body) : ''}`, | ||
path: routerPath, | ||
method: routerMethod, | ||
full_message: `token=${headers['authorization']},host=${headers === null || headers === void 0 ? void 0 : headers['host']}`, | ||
query, | ||
@@ -21,0 +22,0 @@ uri: request.url, |
{ | ||
"name": "fastify-graylog-reporter", | ||
"version": "1.7.0", | ||
"version": "1.8.0", | ||
"description": "Fastify plugin for report request data to Graylog", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/Blynskyniki/fastify-graylog-reporter#readme", |
Sorry, the diff of this file is not supported yet
144262
294