sonic-buildimage/files/image_config/logrotate/logrotate.d/wtmp
abdosi 13ec43bc68
[baseimage]: Logrotate for wtmp and btmp files. (#8743)
Added logrotate file for wtmp and btmp to override default conf and set size cap as 100K as done in 
PR: #865. For buster this is control by separate file wtmp and btmp.

Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
2021-09-15 23:28:27 -07:00

8 lines
132 B
Plaintext

# no packages own wtmp -- we'll rotate it here
/var/log/wtmp {
missingok
size 100k
create 0664 root utmp
rotate 1
}