Closed ressu closed 3 years ago
about the log config, sure i can add it.
about the temp dir, its a "fallback" solution for some temp stuff (timelapse, log, dumps and some other stuff) so i kinda cant remove it
Hah, I was about to discuss the log file requirement, but you happened to edit the comment while I was writing this.
I would prefer to have the temp directory as a configurable value too. Preferably following the XDG base directory standard specification, but even having an argument to change it is a good start.
configurable temp dir aswell? okay i will add it
implemented in 5d13788d396fd0bea0434d54c31173d0ce464546
It should be possible to both define the log file location and to disable the log file completely.
While it's beneficial in some cases to have a log file, in other cases it's not as useful. For example, when running in a Kubernetes container, the standard way of logging information is via stdout and stderr. If I want to run the container with a readonly root, I will need to separately prepare for log. Even though there are other uses for the temp directory too, this is one of the obvious things that should be configurable.