arcao / Syslog

An Arduino library for logging to Syslog server in IETF format (RFC 5424) and BSD format (RFC 3164)
MIT License
119 stars 48 forks source link

Log Level #20

Open gandulf94 opened 6 years ago

gandulf94 commented 6 years ago

Hello, I have question to the Level of the Logs. I successfully send the logs to a raspberry which is recording the logs using syslog-ng. However I don't see the log level in the log file on the raspberry. Here the result from the ESP8266SimpleLogging.ino

Oct 14 18:59:48 192.168.0.101 1 - my-device my-app - - - This is info message no. 1 Oct 14 18:59:48 192.168.0.101 1 - my-device my-app - - - This is daemon info message no. 1 Oct 14 18:59:48 192.168.0.101 1 - my-device my-app - - - End loop Oct 14 18:59:58 192.168.0.101 1 - my-device my-app - - - Begin loop Oct 14 18:59:58 192.168.0.101 1 - my-device my-app - - - This is error message no. 2 Oct 14 18:59:58 192.168.0.101 1 - my-device my-app - - - This is info message no. 2 Oct 14 18:59:58 192.168.0.101 1 - my-device my-app - - - This is daemon info message no. 2 Oct 14 18:59:58 192.168.0.101 1 - my-device my-app - - - End loop

Is there a possibility to see the log level using syslog-ng?

tablatronix commented 3 years ago

Yeah doesn't work for me, syslog shows

Feb 6 22:39:38 Host App Message

Should be Feb 6 22:39:38 Host App: Pri Message or something