Connect edit

1 put code around line 130 into a function. if stomp connection build fails,the connect.php will exit.
2 put function log path to config.xml