Better use of logger parameters