add function to save log of query_server to /var/log/messages
Merge branch 'master' of https://github.com/RandolphWang1/yr_pos_dev