Updated mysql.php

Added function for switchlogs name. It's used in syslog stats