This should cause the test.txt file to be created. If there are more that one log file per path then you will only have a test.txt for the last log file processed.
I made the changes as you suggested and executed the script.
$ awk -f log.awk gtest/svtaree/*
awk: log.awk:32: (FILENAME=gtest/svtaree/access_07.09.09.log FNR=111) fatal: can't redirect to `gtest/svtaree/access_07.09.09/test.txt' (No such file or directory)
$ awk -f log.awk gtest/*/*
awk: log.awk:32: (FILENAME=gtest/svtaree/access_07.09.09.log FNR=111) fatal: can't redirect to `gtest/svtaree/access_07.09.09/test.txt' (No such file or directory)
It did create a file access_07.09.09.log.strip.
The script this time copied the other entries and copied to access_07.09.09.log.strip, leaving the GuestUser entries in the original file.
And it looks like it took only the first logfile in the path.
The script is done. What is left is for you to understand cron. Do a man on crontab and email me using the private mail if you have questions. TIme for me to move on....