some work on logger