Commit 517645a3 authored by Eirik Alvær's avatar Eirik Alvær
Browse files

Don't console.log serviceVersion when using fluent.

parent 3fa89635
Pipeline #49063 passed with stage
in 23 seconds
{ {
"name": "@nsd/log-schema-node", "name": "@nsd/log-schema-node",
"version": "4.0.0", "version": "4.1.0",
"main": "lib/index.js", "main": "lib/index.js",
"types": "lib/index", "types": "lib/index",
"scripts": { "scripts": {
......
...@@ -203,6 +203,7 @@ function simplifyLogObject(obj: LogSchema) { ...@@ -203,6 +203,7 @@ function simplifyLogObject(obj: LogSchema) {
const res = _.cloneDeep(obj); const res = _.cloneDeep(obj);
delete res.loggerName; delete res.loggerName;
delete res.serviceName; delete res.serviceName;
delete res.serviceVersion;
delete res.schemaVersion; delete res.schemaVersion;
delete res.serviceStack; delete res.serviceStack;
delete res.xRequestId; delete res.xRequestId;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment