Better use of MessageLogger