peterhoeg
(Peter Hoeg)
November 18, 2018, 7:20am
1
With HA logging to stdout under systemd, all the logs are already captured by systemd-journald and the regular log file thus becomes superfluous.
It would be great to have an option to disable logging to file while still honoring all the regular logging settings (component level debug levels).
Related to (but not a dupe of) Export hassio log files to syslog/other?
gpbenton
(Graham)
November 18, 2018, 10:51am
2
You can probably achieve this by specifying /dev/null
as the log output.
peterhoeg
(Peter Hoeg)
November 19, 2018, 3:09am
3
I already tried that (I found Custom log file location just after posting) but I keep getting access denied so Iām guessing HA is expecting a regular file.
pipip
(Philipp)
July 30, 2020, 6:23pm
4
I found this old topic because I wanted to achieve the same.
Just symlink /dev/null to home-assistant.log (ln - s /dev/null home-assistant.log)
1 Like