sonic-buildimage/files/image_config/logrotate/logrotate.d/btmp
abdosi 7732fa95bb [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-17 08:24:10 +00:00

8 lines
132 B
Plaintext

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