initLogger function that sets up and returns a Log4perl logger.
Logging of conf file reading.