Re: logrotate(8) and copytruncate as default

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



  Hello Mirek,
----- Original Message -----
> From: Miloslav Trmač <mitr@xxxxxxxx>
> Subject: Re: logrotate(8) and copytruncate as default
>
> * logrotate reads all contents of file until EOF
> * application appends one more data line
> * logrotate calls truncate()


   I see. Thanks for these input, will consider these during further experiments.
I wonder how will application append one more line, if the file is locked.

 
> (And yes, journald solves that by integrating the log rotation with
> the log writer, which is a better design, and there's no inherent
> reason why rsyslog couldn't be doing something similar.  Then there
> are only the dozens? of applications that don't go through syslog at
> all and write their own log files to also handle...)


   Ah okay.  So, journald does both logging data and rotating files. Interesting.


---
Regards
   -Prasad
http://feedmug.com
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux