[logging] fixed small typos so that this compiles fine for gcc 4.3 implemented destinations (not tested)