Logging into single file from multiple modules in python when TimedRotatingFileHandler is used
Lars Liedtke
lal at solute.de
Wed Jun 22 07:10:40 EDT 2022
> The process that is writing the file must be told that rotation has
> happened for it to work.
> Other wise all the logs keep being write to the original file via the
> FD that the process has.
>
> logrotate's config include how to tell the process the log file needs
> reopening.
>
Thanks for clearing.
--
Lars Liedtke
Software Entwickler
Phone:
Fax: +49 721 98993-
E-mail: lal at solute.de
solute GmbH
Zeppelinstraße 15
76185 Karlsruhe
Germany
Marken der solute GmbH | brands of solute GmbH
billiger.de | Shopping.de
Geschäftsführer | Managing Director: Dr. Thilo Gans, Bernd Vermaaten
Webseite | www.solute.de
Sitz | Registered Office: Karlsruhe
Registergericht | Register Court: Amtsgericht Mannheim
Registernummer | Register No.: HRB 110579
USt-ID | VAT ID: DE234663798
Informationen zum Datenschutz | Information about privacy policy
http://solute.de/ger/datenschutz/grundsaetze-der-datenverarbeitung.php
More information about the Python-list
mailing list