Hi Folks,
I have a log file that keeps the information pn the date and time a specific transaction is firedup. I found that the log file keeps growing and I intend to limit the entry to the log file to 30 days.
Log file name is transaction.log, here is the content:
120802_23:47:37 abbbbccccc
120802_23:52:23 accccddddd
120802_23:57:23 adddeeeee
120902_00:01:03 abbbbbccccc
120902_00:02:28 accccddddeee
120902_00:02:37 eeeeddddddbbb
120902_00:02:48 eeeddbbbb
120902_00:02:57 aaaaeee
The first column represent the execution date and time, while the right column indicate ths transaction name. Using the date, how can I limit the data in the transaction.log to 30 rolling days.
Thanks,
Odogbolu98