X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=bin%2Fdjbdns-logparse;h=2e184d814228a39d1992cd3eb581dba317dc74d7;hb=c15dd1fe414f6c26f692d327362021dcf26081c0;hp=998f5475c6127306a7ff3a5b5e32e1837a768aa0;hpb=41eb5d10708c616e95a472d667d061a969f1761c;p=djbdns-logparse.git diff --git a/bin/djbdns-logparse b/bin/djbdns-logparse index 998f547..2e184d8 100755 --- a/bin/djbdns-logparse +++ b/bin/djbdns-logparse @@ -3,27 +3,6 @@ Convert tinydns and dnscache logs to human-readable form """ -# -# Reads log files from tinydns and/or dnscache and prints them out in -# human-readable form. Logs can be supplied on stdin, or listed on the -# command line: -# -# $ cat @*.s | djbdns-logparse -# $ djbdns-logparse @*.s -# $ tail -f current | djbdns-logparse -# -# Pipes each log file through tai64nlocal, which must be on your path. -# -# Acknowledgments: -# -# * The log format descriptions by Rob Mayoff were invaluable: -# ** http://dqd.com/~mayoff/notes/djbdns/tinydns-log.html -# ** http://dqd.com/~mayoff/notes/djbdns/dnscache-log.html -# -# * Faried Nawaz's dnscache log parser was the original inspiration: -# ** http://www.hungry.com/~fn/dnscache-log.pl.txt -# - import re from struct import pack from time import strftime, gmtime