Syslog icon indicating copy to clipboard operation
Syslog copied to clipboard

Pass IP address instead of server name

Open tuctboh opened this issue 2 years ago • 3 comments

Hi,

I run a home lab and want to specify the IP address of the SYSLOG_SERVER, but seems like it only is looking for a string. (Since I'm tcpdumping the destination and nothing is coming to 514).

Tnx, Tuc

tuctboh avatar Aug 10 '22 20:08 tuctboh

I relented and put this into DNS, and still not getting it to work. Does it matter I use WiFiNINA instead of just WiFi?

tuctboh avatar Aug 11 '22 16:08 tuctboh

So dug into this more..

  1. Learned I could put #define SYSLOG_SERVER {192,168,3,245} and it actually worked just fine
  2. Realized after doing some investigation about WiFiNINA and UDP, you need to issue a client.begin(localPort).

I've submitted pr #27 to add an example file for WiFiNINA for others.

tuctboh avatar Aug 12 '22 13:08 tuctboh

Thank you! You saved me on this one. Needed to add the client.begin(localPort)

DrGonzo65 avatar Sep 04 '23 04:09 DrGonzo65