
logger
List of commands for logger:
-
logger:tldr:47ffc logger: Use a specific tag for every line logged. Default is the name of logged in user.$ echo ${log_entry} | logger --tag ${tag}try on your machineexplain this command
-
logger:tldr:690d2 logger: Send the output to a remote syslog server running at a given port. Default port is 514.$ echo ${log_entry} | logger --server ${hostname} --port ${port}try on your machineexplain this command
-
logger:tldr:85c14 logger: Log messages with a given priority. Default is `user.notice`. See `man logger` for all priority options.$ echo ${log_entry} | logger --priority ${user-warning}try on your machineexplain this command
-
logger:tldr:fcd6c logger: Take input from `stdin` and log to syslog.$ echo ${log_entry} | loggertry on your machineexplain this command
-
logger:tldr:fff96 logger: Log a message to syslog.$ logger ${message}try on your machineexplain this command