[Asterisk-Users] Restore Asterisk log files after deleting...

Matt Riddell matt.riddell at sineapps.com
Tue Nov 15 23:45:36 MST 2005


Chuck Bunn wrote:
> Hi,
> 
> I did something stupid - I deleted the Asterisk log files instead of
> copying empty information into the file (I know dumb) to clear out the
> data. I recreated the files with the same rights as before (644) using
> the asterisk user and group but asterisk does not appear to recognize
> them. Is there a way to get asterisk to use /var/log/asterisk/full and
> /var/log/asterisk/messages again... I restarted the server and Asterisk
> but nothing appears in the logs even though several SIP devices have
> logged in etc. (I know this as I was running the Asterisk console).

Try removing the file entirely and restarting Asterisk.  Failing that try
logger rotate in the console.

-- 
Cheers,

Matt Riddell
_______________________________________________

http://www.sineapps.com/news.php (Daily Asterisk News - html)
http://freevoip.gedameurope.com (Free Asterisk Voip Community)
http://www.sineapps.com/rssfeed.php (Daily Asterisk News - rss)




More information about the asterisk-users mailing list