Merge pull request #2246 from SkynetLabs/amend-skyd-logrotate-and-add-pinner
Amend skyd logrotate and add pinner
This commit is contained in:
commit
8ce5c9d7e6
|
@ -0,0 +1,11 @@
|
|||
/home/user/skynet-webportal/docker/data/pinner/*.log {
|
||||
daily
|
||||
rotate 10
|
||||
minsize 100M
|
||||
copytruncate
|
||||
notifempty
|
||||
dateext
|
||||
missingok
|
||||
compress
|
||||
compressoptions --best
|
||||
}
|
|
@ -1,13 +1,12 @@
|
|||
/home/user/skynet-webportal/docker/data/sia/*.log
|
||||
/home/user/skynet-webportal/docker/data/sia/*/*.log {
|
||||
daily
|
||||
rotate 3650
|
||||
minsize 500M
|
||||
create 644 root root
|
||||
rotate 10
|
||||
minsize 100M
|
||||
copytruncate
|
||||
notifempty
|
||||
dateext
|
||||
missingok
|
||||
compress
|
||||
compressoptions --best
|
||||
delaycompress
|
||||
}
|
||||
|
|
Reference in New Issue