I have a log file in which continously data is written from various part of my code. Now want to limit the size of this log file to 20mb ie generate a new log file when it exceeds 10mb . For eg:
logfile_1 : size = 20 mb logfile_2 : size = 20 mb etc..
I used the -s switch to check the size of log file but how can i make it run through a loop such that assigns these names to log file automatically?
In reply to Log File by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |