Update logrotate pattern
This commit is contained in:
parent
598b8bd9fd
commit
b10d7fee25
|
@ -194,7 +194,7 @@ configure_logrotate() {
|
|||
echo "=====> configure_logrotate"
|
||||
|
||||
sudo bash -c "cat > /home/${ADMIN_USERNAME}/oracles-logrotate.conf << EOF
|
||||
/home/${ADMIN_USERNAME}/logs/*.log {
|
||||
/home/${ADMIN_USERNAME}/logs/*.log /home/${ADMIN_USERNAME}/logs/*.err /home/${ADMIN_USERNAME}/logs/*.out {
|
||||
rotate 10
|
||||
size 200M
|
||||
missingok
|
||||
|
|
Loading…
Reference in New Issue