Zabbix serve does not print any logs after query failed in spite of printing
[Z3005] query failed: [2006] MySQL server has gone away, [query ...
By this reason, the users think query failed and the server has a troble but retrying is succeed after failed.
So I attached the patch to print success log.