logger: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On CentOS possible default full paths are:

/bin/logger - from package: util-linux-ng
/usr/bin/logger - from package: util-linux-ng

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/bin/logger - from package: bsdutils

You may install the required package with command apt-get install {package}
Error in other languages:
logger: bevel nie gevind nie
logger: comandă negăsită
logger: comando não encontrado
logger: commande introuvable
logger: command not found
logger: käsku ei ole
logger: không tìm thấy lệnh
logger: komanda nerasta
logger: Kommando nicht gefunden.
logger: kommandot finns inte
logger: komut yok
logger: nie znaleziono polecenia
logger: níor aimsíodh an t-ordú
logger: no se encontró la orden
logger: no s'ha trobat l'ordre
logger: opdracht niet gevonden
logger: parancs nem található
logger: perintah tidak ditemukan
logger: príkaz nenájdený
logger: příkaz nenalezen
logger: команда не найдена
logger: командата не е открита
logger: 命令找不到
logger: コマンドが見つかりません