Draggon / hassio-hdd-tools

27 stars 14 forks source link

Logs visible in Home Assistant CLI #64

Open nepozs opened 1 year ago

nepozs commented 1 year ago

I always thought that it is some development feature, but now when we have version 1.0 anyone can think, that means development is in mature phase, so it should not disturb any other HA components (as every addon has also its own log, and in normal state that log isn't redirected to CLI).

Photo of attached monitor below: magnifier_20221220_022746-01

McGiverGim commented 1 year ago

Where do you see this log? The version means almost nothing, only that is stable enough. Me and others have been using this for a long, long time. In open source it seems people is afraid of publishing as version 1. In version 1 can be bugs, like in any other version, and yours maybe is. Please give more information to see if it can be fixed.

pmvelkov commented 1 year ago

Hello,

I am using version 1.1.0 of HDD Tools and I confirm this "log". I am running Home Assistant OS 9.5 on Raspberry Pi 4 Model B 8GB. The OS is directly installed on WD Blue SN570 NVMe SSD Internal 500GB with ORICO M.2 NVMe SSD Enclosure and connected via the USB 3.0 port.

While being connected on my second monitor I see the following:

image

I think the log level part appears only if I turn off the "Protection mode" (the addon doesn't work when it is on)

nepozs commented 1 year ago

Yes, it is always visible in CLI CLI is standard console input/output of HAOS some documentation links https://www.home-assistant.io/common-tasks/os/ https://www.home-assistant.io/blog/2019/02/04/introducing-home-assistant-cli/

pmvelkov commented 1 year ago

It feels strange to have not executed commands with a lot of spaces printed constantly in console.