Skip to content

mongo warnings #645

Open
Open
@AlvaroVega

Description

@AlvaroVega

m=n/a | srv=n/a | subsrv=n/a | msg=First connection attempt | comp=IoTAgent
time=2022-03-28T04:32:41.036Z | lvl=INFO | corr=26ce13d7-ae3e-4c41-9f18-475ff9a592e3 | trans=26ce13d7-ae3e-4c41-9f18-475ff9a592e3 | op=IoTAgentNGSI.DbConn | from=n/a | srv=n/a | subsrv=n/a | msg=Attempting to connect to MongoDB instance with url "mongodb://iot-mongo:27017/iotajson" and options {}. Attempt 1 | comp=IoTAgent
(node:1) Warning: Accessing non-existent property 'count' of module exports inside circular dependency
(Use node --trace-warnings ... to show where the warning was created)
(node:1) Warning: Accessing non-existent property 'findOne' of module exports inside circular dependency
(node:1) Warning: Accessing non-existent property 'remove' of module exports inside circular dependency
(node:1) Warning: Accessing non-existent property 'updateOne' of module exports inside circular dependency
(node:1) DeprecationWarning: current Server Discovery and Monitoring engine is deprecated, and will be removed in a future version. To use the new Server Discover and Monitoring engine, pass option { useUnifiedTopology: true } to the MongoClient constructor.
time=2022-03-28T04:32:41.107Z | lvl=INFO | corr=26ce13d7-ae3e-4c41-9f18-475ff9a592e3 | trans=26ce13d7-ae3e-4c41-9f18-475ff9a592e3 | op=IoTAgentNGSI.DbConn | from=n/a | srv=n/a | subsrv=n/a | msg=Successfully connected to MongoDB. | comp=IoTAgent

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions