colinbendell / homebridge-blink-for-home

Blink For Home Camera Homebridge plugin
MIT License
88 stars 27 forks source link

Small request #50

Closed donavanbecker closed 3 years ago

donavanbecker commented 3 years ago

Can you hide or only enable during debug mode, the large amount of logs that are displaying the json coming from the blink api?

colinbendell commented 3 years ago

Turn off debug and verbose mode should remove that (it’s under advanced settings)

On Sat, Feb 20, 2021 at 17:30 Donavan Becker notifications@github.com wrote:

Can you hide or only enable during debug mode, the large amount of logs that are displaying the json coming from the blink api?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/colinbendell/homebridge-blink-for-home/issues/50, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAMMERK3UCMMBSC6KBNWWLDTAAZZBANCNFSM4X6J5MFQ .

donavanbecker commented 3 years ago

{
            "name": "Blink",
            "username": "email",
            "password": "password",
            "pin": pin,
            "hide-alarm": false,
            "hide-manual-arm-switch": false,
            "hide-privacy-switch": false,
            "avoid-thumbnail-battery-drain": true,
            "enable-verbose-logging": false,
            "enable-debug-logging": false,
            "enable-startup-diagnostic": false,
            "_bridge": {
                "username": "username",
                "port": port
            },
            "platform": "Blink"
        }
xImportExportx commented 3 years ago

i am having the same issue @colinbendell, seems to be ingnoring the "enable-verbose-logging": false, flag.

mtressl commented 3 years ago

Same here.

mtressl commented 3 years ago

More context: when verbose logging is enabled, the following call puts a huge response in the log.

[2/21/2021, 12:43:23 AM] [Blink Security] GET /api/v3/accounts/xxxxx/homescreen

rweckhoff commented 3 years ago

Same here ... all are false, however, significant logging of API calls/data:

   {
        "name": "Blink",
        "username": "redacted",
        "password": "redacted",
        "pin": 123456,
        "enable-liveview": false,
        "avoid-thumbnail-battery-drain": true,
        "camera-thumbnail-refresh-seconds": 3600,
        "enable-verbose-logging": false,
        "enable-debug-logging": false,
        "enable-startup-diagnostic": false,
        "platform": "Blink"
    },
donavanbecker commented 3 years ago

fixed with v3.7.1