On 11/14/24 12:03 AM, Left Right 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 2024-11-14, Michael Torrie wrote:
> On 11/14/24 12:03 AM, Left Right 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 mo
On 11/13/24 23:03, Left Right via Python-list 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 lo
On Thu, 14 Nov 2024 at 18:05, Left Right via Python-list
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 descript
> On 14 Nov 2024, at 14:07, Loris Bennett via Python-list
> wrote:
>
> I don't quite understand what your suggestion is. Do you mean that I
> should log to stderr and then run my program as
>
> my_program ... 2>&1 | logger
On almost all Linux distros you would run a long running program a
Left Right writes:
>> I am not entirely convinced by NB2. I am, in fact, a sort of sysadmin
>> person and most of my programs write to a log file. The programs are
>> also moderately complex, so a single program might access a database,
>> query an LDAP server, send email etc., so potentially q
*ANNOUNCING*
eGenix PyRun - One file Python Runtime
Version 2.6.0
Python runtime taking up just 4-6MB on disk
This announcement is also available on our web-site for online reading:
https://www.egenix.com/company/news/eGenix-PyRun-2.6.0-GA.html
On 11/13/24 02:12, Roel Schroeven via Python-list wrote:
What I most often do is use one logfile per day, with the date in the
filename. Then simply delete all files older than 7 days, or 30 days, or
whatever is useful for the task at hand. Not only does that sidestep any
issues with rotating l