On Thu, 14 Nov 2024 at 18:05, Left Right via Python-list <python-list@python.org> wrote: > > > On any Unix system this is untrue. Rotating a log file is quite simple: > > I realized I posted this without cc'ing the list: > http://jdebp.info/FGA/do-not-use-logrotate.html . > > The link above gives a more detailed description of why log rotation > on the Unix system is not only not simple, but is, in fact, > unreliable.
You're assuming a very specific tool here. Log rotation isn't necessarily performed by that one tool. There are many ways to do it. Log to stderr. That puts the power in the hands of the sysadmin, rather than forcing trickery like setting the log file name to be /proc/self/fd/2 to get around it. ChrisA -- https://mail.python.org/mailman/listinfo/python-list