initialize logger