#What is the logger system_log.external? Are there any other loggers I could user?

1 messages · Page 1 of 1 (latest)

north ivy
#

The documentation only tells me that could configure another logger. I'm curious what I could use instead and what for.

past kayak
#

I think it's just a string to attach to the log that you could use to filter the messages

north ivy
north ivy
#

"foo" was sent with a value for logger.
"bar" was sent with "myvalue" as logger.

past kayak
#

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

north ivy
#

Ok

#

Not what I really expected.

#

Thank you.

past kayak
#

It's not a way to redirect logs somewhere else, like syslog. If that's wanted

north ivy
#

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.

past kayak
#

You can do it yourself

north ivy
#

What can I do? If you mean submitting a PR for an documentation update, I'd do that If I had a clue.

past kayak
#

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

north ivy