fix race condition when logger is created in the constructor of LoggerMananger

Signed-off-by: Steven Armstrong <steven.armstrong@inf.ethz.ch>