[rbphdmid.sh]: Use logger for logging