Ulysse
10-17-03, 12:48 AM
Hello everybody,
Would it be possible to rename automatically acces log files? Actually, I do not like Powweb's way of renaming it (to rename dayly acces_log to access_log1, than to acces_log2... and finally to acces_log 7 or 8 before delating it). I'd like to download logs to my HD in order to have the possibility later to consult them. The problem is that I have to download or rename them on the server at least every week. Normally, I can do it, however I can have a busy week or I might go on holydays or whatever.
What I'd like is a cron/script or something that would rename the log files (for instance, according to the date) so that they are not deleted - it would give me more freedom to download them when I have time...
Any suggestions?
Ulysse
Would it be possible to rename automatically acces log files? Actually, I do not like Powweb's way of renaming it (to rename dayly acces_log to access_log1, than to acces_log2... and finally to acces_log 7 or 8 before delating it). I'd like to download logs to my HD in order to have the possibility later to consult them. The problem is that I have to download or rename them on the server at least every week. Normally, I can do it, however I can have a busy week or I might go on holydays or whatever.
What I'd like is a cron/script or something that would rename the log files (for instance, according to the date) so that they are not deleted - it would give me more freedom to download them when I have time...
Any suggestions?
Ulysse