initializing logger