Syntax checker for Asterisk config files


Is there some sort of Syntax checker for the Asterisk config files. Also is the /var/log/messages the only file that Asterisk dumps messages too or is there another place. My system works but I want to make sure I am not getting any warnings that might affect stability.