|
How to implement Logrotate mechansim based on Size?
Hi,
I have a situation like below.
I should implement a log rotate mechanism for 2 files in a particular directory. But this based on size.
If file crosses 2MB size, then i should tar it and store it based on timestamp.
Could you please provide me some suggestion for the same?
Thanks very much!!!
|