fix a bug that would not rotate logs
fix a bug in mysqldb-1.2.5, that could not support give only a param that not list or tuple