Fixing bug in logger repository