[Asterisk-Users] Restore logging functionality...

Chuck Bunn chuck.bunn at networkdoc.com
Mon Dec 5 08:36:38 MST 2005


Hi,

A while back I made the stupid mistake of deleting my log files 'full' 
and 'messages' for asterisk. I recreated the files by 'touch' filename 
and I have gone into the Asterisk CLI and tried both 'logger restart' 
and 'logger rotate' but the logs still show nothing. I run 'logger show 
channels' and the output below shows up. I have recompiled Asterisk 1.2 
and still the logs do not show up. I am getting data into the 
'queue_log' and the 'events' logs however so I know logger is running. 
Any suggestions to fix this???

****************
CLI output

tomato*CLI> logger show channels
Channel                             Type     Status    Configuration
-------                             ----     ------    -------------
tomato*CLI>
tomato*CLI>
************************
Output from /var/log/asterisk directory

root at tomato asterisk]# ls -la
total 140
drwxr-xr-x   4 asterisk asterisk   4096 Dec  5 08:22 .
drwxr-xr-x  11 root     root       4096 Dec  4 04:03 ..
drwxr-xr-x   2 asterisk asterisk   4096 Nov  8 21:39 cdr-csv
drwxr-xr-x   2 asterisk asterisk   4096 Nov  8 21:39 cdr-custom
-rw-r--r--   1 root     root          0 Dec  5 08:22 event_log
-rw-r--r--   1 asterisk asterisk   1186 Nov 12 07:43 event_log.0
-rw-r--r--   1 root     root          0 Nov 17 06:41 event_log.1
-rw-r--r--   1 root     root          0 Nov 17 06:45 event_log.2
-rw-r--r--   1 root     root          0 Nov 18 06:38 event_log.3
-rw-r--r--   1 root     root          0 Nov 18 06:37 full
-rw-r--r--   1 root     root          0 Nov 18 06:37 messages
-rw-r--r--   1 asterisk asterisk 111711 Dec  5 08:23 queue_log
*******************

Thanks



More information about the asterisk-users mailing list