增加参数判断切换general log还是slow log;分离slow log和general log切换