set loglevels, run with mysql