New to ethernet communication - logging data

Hello,

I am starting with an existing sketch from mydooropener.com: GitHub - yanavery/MyDoorOpener-Arduino: MyDoorOpener - HTTP server running on Arduino.

By default, the application listens on port 80, reports door status, and toggles a relay to open the door.

What I want to do is add some sort of logging or communication from the Arduino to a Linux server in my house that could then trigger events.

For example:
Door open
Door close

I would prefer not to use anything that would depend on external services - no twitter, jabber, etc.

I was considering trying syslog, but I thought I might ask if others had a better suggestion?

Thanks

What I want to do is add some sort of logging or communication from the Arduino to a Linux server in my house that could then trigger events.

The code you linked has the Arduino acting as a server.

You could install Apache on your PC, and have it be a web server, too.

Then, the Arduino-as-server could also perform Arduino-as-client functions, and make GET requests to your server, which could perform the logging (of data in the GET request).

you can send udp messages to your pc also.