Stash logs in crash log directory
This commit is contained in:
10
setup/start/logrotate/app
Normal file
10
setup/start/logrotate/app
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user