Skip to content

Connected Devices shown can be used as a configuration item.  #141

@jinyangqiao

Description

@jinyangqiao

Hi:
when I use my local spark-server,I found that the log below is always show,but I don't wan't to this to be shown so frequently;
[2019-02-20T10:59:04.459Z] INFO: DeviceServer.js/15464 on DTIT-YJin: Connected Devices (devices=0, sockets=0)
I think this can be used as a configuration item.
setInterval( (): void => server.getConnections((error: Error, count: number) => { logger.info( { devices: this._devicesById.size, sockets: count }, 'Connected Devices', ); }), 10000, );

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