📜  linux 向远程服务器发送 syslog 消息 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:26.653000             🧑  作者: Mango

代码示例1
# To send logs to local server
logger "hello world"

# To send logs to remote server
nc -w0 -u 192.168.1.1 514 <<< "logging from remote"