mib1185 / ha-addon-syslog

Syslog Home Assistant AddOn - to send your HAOS logs to a remote syslog server
Apache License 2.0
5 stars 0 forks source link

Failed to load integration for translation #3

Closed m4v3r1ckNl closed 3 months ago

m4v3r1ckNl commented 3 months ago

Logger: homeassistant.helpers.translation Source: helpers/translation.py:296 First occurred: 22:47:27 (3 occurrences) Last logged: 22:47:27

Failed to load integration for translation: Integration 'syslog_host' not found. Failed to load integration for translation: Integration 'syslog_port' not found. Failed to load integration for translation: Integration 'syslog_protocol' not found.

Logger: homeassistant.setup Source: setup.py:273 First occurred: 22:47:28 (3 occurrences) Last logged: 22:47:28

Setup failed for 'syslog_host': Integration not found.
Setup failed for 'syslog_port': Integration not found.
Setup failed for 'syslog_protocol': Integration not found.

Home Assistant - supervised Core 2024.4.3 Supervisor 2024.04.0 Operating System 12.2 Frontend 20240404.2

mib1185 commented 3 months ago

Hello @m4v3r1ckNl is there anything else in the full log? Which language do you use in HA?

m4v3r1ckNl commented 3 months ago

Full log:

s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
[08:37:22] INFO: Set configuration...
[08:37:22] INFO: Starting the daemon...

Logfile:

4f0066aa_syslog_2024-04-21T06-38-26.828Z.log

I use English language. If you need any more info to tackle this issue, just let me know.

mib1185 commented 3 months ago

I meant the full log of homeassistent 😁

mib1185 commented 3 months ago

how exactly did you configure this addon? did you set anything in your configuration.yaml for this? if yes, that's wrong 😁

m4v3r1ckNl commented 3 months ago

So obviously I misread the installation requirements. Muted the code in configuration.yaml and rebooted my HA. Going into the syslog, it seems to be working as from 04/21.

Screenshot 2024-04-22 at 17 11 01

edit: What is the offset in time between logging in HA and sending it to the syslog server? I'm reading -16 hours in my syslog.

Thank you for your swift reactions and directions. Much appreciated.

mib1185 commented 3 months ago

So obviously I misread the installation requirements. Muted the code in configuration.yaml and rebooted my HA. Going into the syslog, it seems to be working as from 04/21.

the configuration is done on the AddOns configuration tab in the UI, it is not intended to be added into the configuration.yaml

edit: What is the offset in time between logging in HA and sending it to the syslog server? I'm reading -16 hours in my syslog.

the addon should use the time of HAOS, but maybe the timezone of HAOS is not correct passed into the addon 🤔will check this later

Thank you for your swift reactions and directions. Much appreciated.

you're welcome :)

mib1185 commented 3 months ago

What is the offset in time between logging in HA and sending it to the syslog server? I'm reading -16 hours in my syslog.

where or how exactly do you see this offset? it looks like the timezone is correct passed into the addon

m4v3r1ckNl commented 3 months ago

Just checked the logs in Synology Logserver. The time offset is resolved, logentries are now realtime. For me this issue is now resolved. Thanks again for your support. Happy with this add-on.