It would be nice if we could set a custom path for the home-assistant.log file location.
Here’s another post I created about the topic:
Currently, dumping the home-assistant.log file in the same directory as the config files causes problems when a user tries to back-up the configuration directory. Sure we can set an exclude rule for all .log and .db files, but why would the log files be in the config directory in the first place?
Take Apache for example, the config directory only contains actual config files, and all log files (even custom ones), are written to user-defined log file locations.
I really hate to make a comparison to OH, but it is considered a comparable product. OpenHab has it’s own log file directory, as well as custom log configuration options, documented here:
Is there any fundamental reason why this can’t be implemented, perhaps something that’s specific to python?