Trying to remove log for a service to help me debug do I did a find and find is not behaving as I suspect ’ find . -name -‘*.log’ -print’ done from a directery with a log file returns nothing (see below). There is a log fine in pwd but it is not being found.
I turned on logging for Google Cast and there were over 7000 lines so I want to clear down to log and try again as this seems to be all log enteries from when service was started. I want to see only log enteries when I tryto do something that is not working.
What is going on?
➜ /homeassistant ls -l
total 127776
-rw-r--r-- 1 root root 2378 Dec 28 17:30 SERVICE_ACCOUNT.JSON
-rw-r--r-- 1 root root 15902 Jan 5 21:59 automations.yaml
drwxr-xr-x 4 root root 4096 Jun 7 2023 blueprints
drwxr-xr-x 2 root root 4096 Jun 13 2023 climate
-rw-r--r-- 1 root root 977 Jan 5 22:15 configuration.yaml
-rw-r--r-- 1 root root 319 Jun 12 2023 configuration.yaml.12Jun22023
-rw-r--r-- 1 root root 857 Dec 27 13:41 configuration.yaml.22Dec2023
drwxr-xr-x 4 root root 4096 Dec 26 18:11 custom_components
drwxr-xr-x 2 root root 4096 Jun 7 2023 deps
-rw-r--r-- 1 root root 321736 Jan 6 15:48 home-assistant.log
-rw-r--r-- 1 root root 503895 Jan 6 15:00 home-assistant.log.1
-rw-r--r-- 1 root root 0 Jan 6 15:03 home-assistant.log.fault
-rw-r--r-- 1 root root 121090048 Jan 6 15:45 home-assistant_v2.db
-rw-r--r-- 1 root root 32768 Jan 6 15:48 home-assistant_v2.db-shm
-rw-r--r-- 1 root root 4330152 Jan 6 15:48 home-assistant_v2.db-wal
drwxr-xr-x 2 root root 4096 Jan 5 21:42 media
drwxr-xr-x 5 root root 4096 Jul 4 2023 node-red
-rw-r--r-- 1 root root 12979 Jan 2 10:38 scenes.yaml
-rw-r--r-- 1 root root 0 Jun 7 2023 scripts.yaml
-rw-r--r-- 1 root root 161 Jun 7 2023 secrets.yaml
drwxr-xr-x 2 root root 4096 Jun 7 2023 tts
drwxr-xr-x 3 root root 4096 Jun 13 2023 www
-rw-r--r-- 1 root root 303104 Jan 6 15:38 zigbee.db
-rw-r--r-- 1 root root 32768 Jan 6 15:47 zigbee.db-shm
-rw-r--r-- 1 root root 4120032 Jan 6 15:47 zigbee.db-wal
➜ /homeassistant find . -name -'*.log' -print
➜ /homeassistant