Cactus i will try and remember to report back.
I have a lot of learning to do to in order to check things out.
I am rolling out some servers to do logging with squid and it is going to be a slow process.
When i get more out there, i only have 2 now in running mode, i will be able to get more info on what is happening.
It would appear that linux does not keep a file creation date.
I have turned off file time stamping of last time accessed with noatime to help my lower speed hard drives perform faster.
My rotation period is set to weekly and looking already at a file using the stat command, the files last accessed file time is over a week.
In testing the squid server, i deleted the squid log files to see if squid would recreate the file. I found out real quick not to do that because it would keep squid from not working. So i created a new access.log file(i had backed them up before i deleted them). It appears the log files chmod need to be set to 644 and that is probably what it is from a sme linux installation.
During my recreation of the squid log files, i set the file's chmod to 777 to quickly get my system back up and going.
I see now my log files older that a week and already after an automatic file rotation, the chmod is still 777 and the last access time is two weeks old and the log files did rotate automatically at least once.
here is a quick view of what i have now in the directory of /var/log/squid from a server i placed into service about two weeks ago.
i turned off compression of the access.log files that get rotated until i get accustom to working with compressed files in an automated fashion.
ls -l
total 6380
-rwxrwxrwx 1 squid squid 897261 Aug 8 20:14 access.log
-rwxrwxrwx 1 squid squid 1831581 Aug 7 04:02 access.log.1
-rwxrwxrwx 1 squid squid 543387 Aug 2 17:49 access.log.2
-rwxrwxrwx 1 squid squid 863269 Aug 2 04:02 access.log.3
-rwxrwxrwx 1 squid squid 999 Aug 8 17:29 cache.log
-rwxrwxrwx 1 squid squid 322 Aug 7 04:02 cache.log.1.gz
-rwxrwxrwx 1 squid squid 176 Aug 2 17:49 cache.log.2.gz
-rwxrwxrwx 1 squid squid 164801 Aug 2 04:02 cache.log.3.gz
-rw-r--r-- 1 squid squid 5 Aug 1 23:11 squid.pid
-rwxrwxrwx 1 squid squid 1296158 Aug 9 03:11 store.log
-rwxrwxrwx 1 squid squid 525336 Aug 7 04:02 store.log.1.gz
-rwxrwxrwx 1 squid squid 165646 Aug 2 17:49 store.log.2.gz
-rwxrwxrwx 1 squid squid 169244 Aug 2 04:02 store.log.3.gz
stat access.log
File: `access.log'
Size: 897261 Blocks: 1768 IO Block: 4096 regular file
Device: fd00h/64768d Inode: 2884135 Links: 1
Access: (0777/-rwxrwxrwx) Uid: ( 23/ squid) Gid: ( 23/ squid)
Access: 2011-07-28 22:12:50.000000000 -0500
Modify: 2011-08-08 20:14:06.000000000 -0500
Change: 2011-08-08 20:14:06.000000000 -0500