#What is the logger system_log.external? Are there any other loggers I could user?
1 messages · Page 1 of 1 (latest)
I think it's just a string to attach to the log that you could use to filter the messages
"foo" was sent with a value for logger.
"bar" was sent with "myvalue" as logger.
You would need to look at the actual log file to see it
As I showed above
Or you can just use it for filtering with the logger integration
It's not a way to redirect logs somewhere else, like syslog. If that's wanted
I wanted to understand "Logger name under which to log the message. Defaults to ‘system_log.external’." Found at https://www.home-assistant.io/integrations/system_log/.
This is not helpful.
I filed a bug, but nobody found the time to enhance the documentation. That's ok for me. I'll wait.
You can do it yourself
What can I do? If you mean submitting a PR for an documentation update, I'd do that If I had a clue.
Yes, I mean clicking the 'edit' button at the bottom of the page and improving the documentation. I hope it's clear from our discussion what it does and how it works, so if you can make the documentation clearer about that, please do
If you want it to do something else, that's a feature request to be submitted to the forum. I haven't seen anything that looks like a bug here, just a lack of understanding of what it's supposed to do
If you look at the code you see that the string in the log is an effect, but not reason.
https://github.com/home-assistant/core/blob/dev/homeassistant/components/system_log/__init__.py
https://github.com/home-assistant/core/blob/dev/homeassistant/components/system_log/services.yaml
Further more: