logger
Add messages to the system log. More information: https://manned.org/logger.
- Log a message to syslog:
logger
- Take input from
stdinand log to syslog:
echo | logger
- Send the output to a remote syslog server running at a given port. Default port is 514:
echo | logger
- Use a specific tag for every line logged. Default is the name of logged in user:
echo | logger
- Log messages with a given priority. Default is
user.notice. Seeman loggerfor all priority options:
echo | logger
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
