add lock_log_switch_ var

Signed-off-by: xushuai <xushvai@gmail.com>
some chage

Signed-off-by: xushuai <xushvai@gmail.com>