add cake daemon and redirect log to socket.log and error.log