2019-07-30 14:47:33 -07:00
|
|
|
# Generated by apptask
|
2017-08-11 22:05:31 +02:00
|
|
|
|
2019-07-30 14:47:33 -07:00
|
|
|
# keep upto 7 rotated logs. rotation triggered daily or ahead of time if size is > 1M
|
2017-08-11 16:24:56 -07:00
|
|
|
<%= volumePath %>/*.log <%= volumePath %>/*/*.log <%= volumePath %>/*/*/*.log {
|
2019-07-30 14:47:33 -07:00
|
|
|
rotate 7
|
|
|
|
|
daily
|
|
|
|
|
compress
|
|
|
|
|
maxsize 1M
|
|
|
|
|
missingok
|
|
|
|
|
delaycompress
|
|
|
|
|
copytruncate
|
2017-08-11 16:24:56 -07:00
|
|
|
}
|
2019-07-30 14:47:33 -07:00
|
|
|
|
|
|
|
|
/home/yellowtent/platformdata/logs/<%= appId %>/*.log {
|
|
|
|
|
# only keep one rotated file, we currently do not send that over the api
|
|
|
|
|
rotate 1
|
|
|
|
|
size 10M
|
|
|
|
|
missingok
|
|
|
|
|
# we never compress so we can simply tail the files
|
|
|
|
|
nocompress
|
|
|
|
|
copytruncate
|
|
|
|
|
}
|
|
|
|
|
|