Fixed compile problem in logger driver