fix my bug in Logger committed by 8a00572b3fe11b23f77d8c2fd39531a2613f16c0