Stash logs in crash log directory

This commit is contained in:
Girish Ramakrishnan
2019-03-01 14:40:28 -08:00
parent c361ab954d
commit 7983ff5db2
9 changed files with 87 additions and 75 deletions

10
setup/start/logrotate/app Normal file
View File

@@ -0,0 +1,10 @@
# logrotate config for app and crash logs
/home/yellowtent/platformdata/logs/*/*.log {
# only keep one rotated file, we currently do not send that over the api
rotate 1
size 10M
# we never compress so we can simply tail the files
nocompress
copytruncate
}