Skip to content

Commit

Permalink
clean debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
AlvaroVega committed Jan 29, 2025
1 parent b73deca commit 3e9aae2
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions lib/services/ngsi/ngsiService.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,7 @@ function sendUpdateValue(entityName, attributes, typeInformation, token, callbac
const newCallback = statsRegistry.withStats('updateEntityRequestsOk', 'updateEntityRequestsError', callback);
const additionalCallback = (data, next) => {
if (typeInformation.oldCtxt) {
logger.debug(
context,
'aditionalCallback data %j typeInformation.oldCtxt %j',
data,
typeInformation.oldCtxt
);
logger.debug(context, 'StoreOldCtxt %j', typeInformation.oldCtxt);
deviceService.storeDeviceField('oldCtxt', typeInformation.oldCtxt, typeInformation, function () {
next(null, data);
});
Expand Down

0 comments on commit 3e9aae2

Please sign in to comment.