DL6ER
March 28, 2018, 7:09pm
3
mibere:
also bei meinem Debian ist es so, das Verzeichnis /var/log/pihole existiert, ist jedoch (ebenfalls) leer. Da frage ich mich gerade ebenfalls, warum es existiert, wofür es verwendet wird, wenn auch bei mir alle Pi-hole Logdateien direkt in /var/log/ abgelegt werden.
Wit haben mittelfristig vor alle Logs in diesen Ordner umzuziehen (dann z.B. /var/log/pihole/FTL.log
statt /var/log/pihole-FTL.log
). So kann man die Pi-hole Logs auch einfach auslagern (auf externe oder Netzwerklaufwerke sowie ramfs
) wenn man wollte. Die Entwicklung in den Kern-Komponenten hinkt aber noch etwas hinterher und das hat z.Zt. keine große Dringlichkeit.
Siehe auch z.B.
pi-hole:development
← pi-hole:new/logfilelocation
opened 07:15PM - 08 Dec 17 UTC
**By submitting this pull request, I confirm the following (please check boxes, … eg [X]) _Failure to fill the template will close your PR_:**
***Please submit all pull requests against the `development` branch. Failure to do so will delay or deny your request***
- [X] I have read and understood the [contributors guide](https://github.com/pi-hole/pi-hole/blob/master/CONTRIBUTING.md).
- [X] I have checked that [another pull request](https://github.com/pi-hole/FTL/pulls) for this purpose does not exist.
- [X] I have considered, and confirmed that this submission will be valuable to others.
- [X] I accept that this submission may not be used, and the pull request closed at the will of the maintainer.
- [X] I give this submission freely, and claim no ownership to its content.
**How familiar are you with the codebase?:**
## 10
---
Change log file location from `/var/log/pihole-FTL.log` to `/var/log/pihole/FTL.log`
Note that this is a breaking change in some sense as `FTL` will fail to start when the directory `/var/log/pihole/` doesn't exist or isn't writable for user `pihole`
_This template was created based on the work of [`udemy-dl`](https://github.com/nishad/udemy-dl/blob/master/LICENSE)._
1 Like