Re: Re: rotatelogs behavior in kubernetes pod

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

 



> In other words, rotatelogs is finding the large logfile, and then creating logfile.1 ... but if logfile.1 already exists it's blown away. It doesn't "continue where it left off"

-n looks to intentionally/explicitly treat the initial file and
subsequent rotations differently, as you say above. The latter are
truncated when opened.
It's not captured in the manual, but the intent behind -n was
retaining a limited amount of trace-like output. Misguided or not,
this is the behavior for quite some time of this relatively obscure
option.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux