telefonicaid / iotagent-node-lib

Module to enable IoT Agent developers to build custom agents for their devices that can easily connect to NGSI Context Brokers
https://iotagent-node-lib.rtfd.io/
GNU Affero General Public License v3.0
58 stars 84 forks source link

ENTITY_GENERIC_ERROR is logging so much info #1594

Closed AlvaroVega closed 3 months ago

AlvaroVega commented 3 months ago

IoT Agent Node Lib version the issue has been seen with

4.3.0

Bound or port used (API interaction)

Southbound (Devices data API)

NGSI version

NGSIv2

Are you running a container?

Yes, I am using a contaner (Docker, Kubernetes...)

Image type

None

Expected behaviour you didn't see

Do not print so much info

Unexpected behaviour you saw

It's printing so much info

Steps to reproduce the problem

No response

Configs

environment:
    - "IOTA_CB_HOST=orion"
    - "IOTA_CB_PORT=1026"
    - "IOTA_NORTH_PORT=4041"
    - "IOTA_REGISTRY_TYPE=mongodb"
    - "IOTA_MONGO_HOST=mongodb"
    - "IOTA_MONGO_PORT=27017"
    - "IOTA_MONGO_DB=iotagent-json"
    - "IOTA_HTTP_PORT=7896"
    - "IOTA_PROVIDER_URL=http://iot-agent:4041"

Log output

No response

AlvaroVega commented 3 months ago

related with https://github.com/telefonicaid/iotagent-node-lib/pull/1582 and https://github.com/telefonicaid/iotagent-node-lib/pull/1580

https://github.com/telefonicaid/iotagent-node-lib/pull/1582 logs typeInformation handling some errors and and https://github.com/telefonicaid/iotagent-node-lib/pull/1580 includes global configuration in typeInformation

fgalan commented 3 months ago

Fixed by PR #1596