Logrotate can work on individual files or wildcarded files (*.log, for example) in a specified directory, but does it inherently have the ability to traverse a directory tree of arbitrary depth and process files it finds?
thanx
|
Logrotate can work on individual files or wildcarded files (*.log, for example) in a specified directory, but does it inherently have the ability to traverse a directory tree of arbitrary depth and process files it finds? thanx
| |||
|
feedback
|
|
No, it doesn't. You can wildcard the directories though so if your tree has a small-ish known depth you could do something like:
If you only have logs at the leaf only | |||
|
feedback
|