Merge pull request #9 from cosu/master

Add logrotate to query log