I am using a software F, installed on PC named A (192.168.6.5) (running Windows) for receiving log (rsyslog) from a remote Ubuntu 14.04 server B (192.168.6.6). In F, I can see logs from B with types like information, alert, notice...
I made logs in B using logger command:
logger "i am log from B"
When I checking F in A, I can see the above message, like.
ubuntu notice 192.168.6.6 "i am log from B"
When I check the original log file in B, which located at: /var/log/syslog
,
I can see these lines, but they only have datetime, computerName, messageContent. There are nothing about "info" or "notice". I don't what exact to call it (in F, it is severity). Is there a way to specify it with logger command?
-p
/--priority
option?