This is a bit strange issue which is about the asterisk full log (/var/log/asterisk/full ).
The log is being rotated properly like renaming it to full.1, full.2, full.3 etc. But we see that the new log file created full is empty and it still keep writing to an old file full.1.
When we did a asterisk restart it will then start writing to the log ‘full’ or a system reboot. I did this manually a few times and last couple of days did not do a left it empty. Then I found that the full.1 and full.2 also was empty and it was still writing to old file full.3
This is not a normal behavior. Does anyone know on why this is happening?
My System configuration details are as below
Operating System - Ubuntu 10.10
Asteirsk Version: 1.4.40
FreePBX version: 2.8
File listing - linux Console (Today)
[color=#FF0000]-rw-rw---- 1 asterisk asterisk 0 2011-03-29 06:25 full
-rw-rw---- 1 asterisk asterisk 0 2011-03-28 06:25 full.1
-rw-rw---- 1 asterisk asterisk 0 2011-03-27 06:25 full.2[/color]
-rw-rw---- 1 asterisk asterisk 27017185 2011-03-29 06:29 full.3
-rw-rw---- 1 asterisk asterisk 6621497 2011-03-26 13:32 full.4
-rw-rw---- 1 asterisk asterisk 10641959 2011-03-25 15:57 full.5
File listing - linux Console (few days ago )
[color=#FF0000]-rw-r----- 1 asterisk asterisk 0 2011-03-25 06:25 full[/color]
-rw-rw---- 1 asterisk asterisk 10413172 2011-03-25 15:14 full.1
-rw-rw---- 1 asterisk asterisk 9950769 2011-03-24 13:37 full.2
[color=#FF0000]-rw-rw---- 1 asterisk asterisk 0 2011-03-21 06:25 full.4[/color]
-rw-rw---- 1 asterisk asterisk 30014755 2011-03-22 15:55 full.5