diff -ur motion-trunk/stream.c motion-trunk-loghttpd/stream.c
--- motion-trunk/stream.c	2011-06-21 13:21:30.000000000 +0200
+++ motion-trunk-loghttpd/stream.c	2011-06-21 13:42:54.000000000 +0200
@@ -802,10 +802,13 @@
     unsigned long i;
     struct sockaddr_storage sin;
     socklen_t addrlen = sizeof(sin);
+    char buf[30];
 
     if ((sc = accept(sl, (struct sockaddr *)&sin, &addrlen)) >= 0) {
         i = 1;
         ioctl(sc, FIONBIO, &i);
+        strncpy(buf, inet_ntoa(sin.sin_addr), sizeof(buf));
+        MOTION_LOG(NTC, TYPE_STREAM, NO_ERRNO, "%s: Accepted HTTP connection from %s", buf);
         return sc;
     }
 
