Initializing  logger