Can we use the logger for this instead?