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
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
}
+9
View File
@@ -0,0 +1,9 @@
# logrotate config for box logs
/home/yellowtent/platformdata/logs/box.log {
rotate 10
size 10M
# we never compress so we can simply tail the files
nocompress
copytruncate
}