Skip to content

Instantly share code, notes, and snippets.

@orestis
Created June 17, 2011 09:26
Show Gist options
  • Save orestis/1031120 to your computer and use it in GitHub Desktop.
Save orestis/1031120 to your computer and use it in GitHub Desktop.
server log
$ python monitor3.py
2011-06-17 12:22:43+0300 [-] Log opened.
2011-06-17 12:22:43+0300 [-] /etc/resolv.conf changed, reparsing
2011-06-17 12:22:43+0300 [-] Resolver added ('10.0.99.1', 53) to server list
2011-06-17 12:22:43+0300 [-] twisted.web.server.Site starting on 8000
2011-06-17 12:22:43+0300 [-] Starting factory <twisted.web.server.Site instance at 0x1025ff128>
2011-06-17 12:22:44+0300 [-] Starting factory <HTTPClientFactory: http://apple.com>
2011-06-17 12:22:44+0300 [-] Starting factory <HTTPClientFactory: http://adobe.com>
2011-06-17 12:22:44+0300 [-] <class 'twisted.names.dns.DNSDatagramProtocol'> starting on 56464
2011-06-17 12:22:44+0300 [-] Starting protocol <twisted.names.dns.DNSDatagramProtocol object at 0x102615c10>
2011-06-17 12:22:44+0300 [-] <class 'twisted.names.dns.DNSDatagramProtocol'> starting on 9400
2011-06-17 12:22:44+0300 [-] Starting protocol <twisted.names.dns.DNSDatagramProtocol object at 0x102615e10>
2011-06-17 12:22:44+0300 [-] (Port 56464 Closed)
2011-06-17 12:22:44+0300 [-] Stopping protocol <twisted.names.dns.DNSDatagramProtocol object at 0x102615c10>
2011-06-17 12:22:44+0300 [twisted.names.dns.DNSDatagramProtocol (UDP)] Stopping factory <HTTPClientFactory: http://adobe.com>
2011-06-17 12:22:44+0300 [-] (Port 9400 Closed)
2011-06-17 12:22:44+0300 [-] Stopping protocol <twisted.names.dns.DNSDatagramProtocol object at 0x102615e10>
2011-06-17 12:22:45+0300 [-] <class 'twisted.names.dns.DNSDatagramProtocol'> starting on 58589
2011-06-17 12:22:45+0300 [-] Starting protocol <twisted.names.dns.DNSDatagramProtocol object at 0x102615e50>
2011-06-17 12:22:45+0300 [twisted.names.dns.DNSDatagramProtocol (UDP)] <class 'twisted.names.dns.DNSDatagramProtocol'> starting on 21615
2011-06-17 12:22:45+0300 [twisted.names.dns.DNSDatagramProtocol (UDP)] Starting protocol <twisted.names.dns.DNSDatagramProtocol object at 0x102615fd0>
2011-06-17 12:22:45+0300 [-] (Port 58589 Closed)
2011-06-17 12:22:45+0300 [-] Stopping protocol <twisted.names.dns.DNSDatagramProtocol object at 0x102615e50>
2011-06-17 12:22:45+0300 [twisted.names.dns.DNSDatagramProtocol (UDP)] <class 'twisted.names.dns.DNSDatagramProtocol'> starting on 49511
2011-06-17 12:22:45+0300 [twisted.names.dns.DNSDatagramProtocol (UDP)] Starting protocol <twisted.names.dns.DNSDatagramProtocol object at 0x102615dd0>
2011-06-17 12:22:45+0300 [-] (Port 21615 Closed)
2011-06-17 12:22:45+0300 [-] Stopping protocol <twisted.names.dns.DNSDatagramProtocol object at 0x102615fd0>
2011-06-17 12:22:45+0300 [twisted.names.dns.DNSDatagramProtocol (UDP)] <class 'twisted.names.dns.DNSDatagramProtocol'> starting on 40477
2011-06-17 12:22:45+0300 [twisted.names.dns.DNSDatagramProtocol (UDP)] Starting protocol <twisted.names.dns.DNSDatagramProtocol object at 0x102615e50>
2011-06-17 12:22:45+0300 [-] (Port 49511 Closed)
2011-06-17 12:22:45+0300 [-] Stopping protocol <twisted.names.dns.DNSDatagramProtocol object at 0x102615dd0>
2011-06-17 12:22:45+0300 [-] (Port 40477 Closed)
2011-06-17 12:22:45+0300 [-] Stopping protocol <twisted.names.dns.DNSDatagramProtocol object at 0x102615e50>
2011-06-17 12:22:45+0300 [-] 127.0.0.1 - - [17/Jun/2011:09:22:44 +0000] "GET / HTTP/1.1" 200 222 "-" "curl/7.19.7 (universal-apple-darwin10.0) libcurl/7.19.7 OpenSSL/0.9.8l zlib/1.2.3"
2011-06-17 12:22:45+0300 [HTTPPageGetter,client] Stopping factory <HTTPClientFactory: http://www.apple.com/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment