do not add a logger if app logger is empty.