first implementation of logging, no rotation yet