Medium: mysql: really use log setting (bnc#823095)

There is a log parameter, but it was never enforced.
Merge pull request #262 from dmuhamedagic/mysql-logoption

Medium: mysql: really use log setting (bnc#823095)