Can we use a logger instead of system err for this?