home-assistant / supervisor

:house_with_garden: Home Assistant Supervisor
https://home-assistant.io/hassio/
Apache License 2.0
1.76k stars 641 forks source link

Supervisor logging level stuck on Info #5270

Closed yannpub closed 1 month ago

yannpub commented 2 months ago

Describe the issue you are experiencing

Supervisor if flooding syslog, because of the thousand of lines generated by hassio_dns.

Supervisor info:

arch: amd64 auto_update: true channel: stable debug: false debug_block: false diagnostics: null healthy: true ip_address: 172.30.32.2 logging: info supported: false timezone: Europe/Paris update_available: false version: 2024.08.0 version_latest: 2024.08.0 wait_boot: 5

dns info:

fallback: true host: 172.30.32.3 llmnr: true locals:

  • dns://192.168.1.200
  • dns://192.168.1.254
  • dns://208.67.222.222
  • dns://212.27.40.240
  • dns://1.1.1.1 mdns: true servers: [] update_available: false version: 2024.04.0 version_latest: 2024.04.0

despite adjusting the log level using any of the following entries

ha dns options --log-level=warn ha dns options --log-level=warning ha dns options --log-level warn ha dns options --log-level warning

and doing the same options with ha supervisor... , the logging level stays stuck to info, and I keep having thousands of the following lines: 2024-08-23T13:52:43.846874+02:00 server hassio_dns[1018]: [INFO] 172.30.32.1:56094 - 60046 "PTR IN 65.192.66.10.in-addr.arpa. udp 54 true 2048" NXDOMAIN qr,rd,ra 43 2.025934029s 2024-08-23T13:52:43.847138+02:00 server hassio_dns[1018]: [INFO] 127.0.0.1:40631 - 34153 "PTR IN 65.192.66.10.in-addr.arpa. udp 54 true 2048" NXDOMAIN qr,rd,ra 43 0.020124544s 2024-08-23T13:52:43.847292+02:00 server hassio_dns[1018]: [INFO] 127.0.0.1:48178 - 51859 "PTR IN 65.192.66.10.in-addr.arpa. udp 54 true 2048" NXDOMAIN qr,rd,ra 43 0.020066727s 2024-08-23T13:52:43.847444+02:00 server hassio_dns[1018]: [INFO] 172.30.32.1:37869 - 47868 "PTR IN 65.192.66.10.in-addr.arpa. udp 54 true 2048" NXDOMAIN qr,rd,ra 43 2.024908172s 2024-08-23T13:52:43.847583+02:00 server hassio_dns[1018]: [INFO] 172.30.32.1:50800 - 17182 "PTR IN 65.192.66.10.in-addr.arpa. udp 54 true 2048" NXDOMAIN qr,rd,ra 43 2.025284479s 2024-08-23T13:52:43.847743+02:00 server hassio_dns[1018]: [INFO] 127.0.0.1:39208 - 17352 "PTR IN 65.192.66.10.in-addr.arpa. udp 54 true 2048" NXDOMAIN qr,rd,ra 43 0.020445513s 2024-08-23T13:52:43.847915+02:00 server hassio_dns[1018]: [INFO] 172.30.32.1:53409 - 33308 "PTR IN 65.192.66.10.in-addr.arpa. udp 54 true 2048" NXDOMAIN qr,rd,ra 43 2.026595829s

What type of installation are you running?

Home Assistant Supervised

Which operating system are you running on?

Debian

Steps to reproduce the issue

1.Run HA supervised on Debian 12 2.Check syslog or user.log 3. ...

Anything in the Supervisor logs that might be useful for us?

No particular entry

System Health information

System Information

version core-2024.8.2
installation_type Home Assistant Supervised
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.12.4
os_name Linux
os_version 6.1.0-23-amd64
arch x86_64
timezone Europe/Paris
config_dir /config
Home Assistant Community Store GitHub API | ok -- | -- GitHub Content | ok GitHub Web | ok HACS Data | ok GitHub API Calls Remaining | 5000 Installed Version | 2.0.0 Stage | running Available Repositories | 1460 Downloaded Repositories | 17
AccuWeather can_reach_server | ok -- | -- remaining_requests | 49
Home Assistant Cloud logged_in | false -- | -- can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | ok
Home Assistant Supervisor host_os | Debian GNU/Linux 12 (bookworm) -- | -- update_channel | stable supervisor_version | supervisor-2024.08.0 agent_version | 1.6.0 docker_version | 27.1.2 disk_total | 232.2 GB disk_used | 170.6 GB healthy | true supported | failed to load: Unsupported host_connectivity | true supervisor_connectivity | true ntp_synchronized | true virtualization | supervisor_api | ok version_api | ok installed_addons | Terminal & SSH (9.14.0), File editor (5.8.0), Mosquitto broker (6.4.1), Home Assistant Google Drive Backup (0.112.1), InfluxDB (5.0.0), Samba share (12.3.2), ESPHome (2024.8.0), Frigate Beta (0.14.0), Log Viewer (0.17.0), Homarr (0.91), Sonarr (0.2.3), Prowlarr (0.10.0), Radarr (0.7.0), Nextcloud (29.0.4), MariaDB (2.7.1), Portainer (2.20.1), AdGuard Home (5.1.1), Caddy 2 (1.5.8), Zigbee2MQTT (1.39.1-1), Rclone Backup (3.3.1)
Dashboards dashboards | 3 -- | -- resources | 5 views | 10 mode | storage
Recorder oldest_recorder_run | August 16, 2024 at 7:42 AM -- | -- current_recorder_run | August 23, 2024 at 12:16 PM estimated_db_size | 496.36 MiB database_engine | sqlite database_version | 3.45.3
Sonoff version | 3.7.3 (e240aaf) -- | -- cloud_online | 4 / 4 local_online | 4 / 4 debug | failed to load:
Spotify api_endpoint_reachable | ok -- | --

Supervisor diagnostics

config_entry-hassio-0f8594b4fed432c490bf547856f77e99.json

Additional information

No response

github-actions[bot] commented 1 month ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.