a little change about logging