projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2a627e8
)
Highlight: Didn't receive data in time: a.fsdn.com:443
author
Fabian Keil
<fk@fabiankeil.de>
Sat, 12 Nov 2011 12:55:46 +0000
(12:55 +0000)
committer
Fabian Keil
<fk@fabiankeil.de>
Sat, 12 Nov 2011 12:55:46 +0000
(12:55 +0000)
tools/privoxy-log-parser.pl
patch
|
blob
|
history
diff --git
a/tools/privoxy-log-parser.pl
b/tools/privoxy-log-parser.pl
index
0807186
..
8403602
100755
(executable)
--- a/
tools/privoxy-log-parser.pl
+++ b/
tools/privoxy-log-parser.pl
@@
-8,7
+8,7
@@
#
# http://www.fabiankeil.de/sourcecode/privoxy-log-parser/
#
#
# http://www.fabiankeil.de/sourcecode/privoxy-log-parser/
#
-# $Id: privoxy-log-parser.pl,v 1.12
0 2011/06/29 20:29:12
fabiankeil Exp $
+# $Id: privoxy-log-parser.pl,v 1.12
1 2011/08/18 11:41:18
fabiankeil Exp $
#
# TODO:
# - LOG_LEVEL_CGI, LOG_LEVEL_ERROR, LOG_LEVEL_WRITE content highlighting
#
# TODO:
# - LOG_LEVEL_CGI, LOG_LEVEL_ERROR, LOG_LEVEL_WRITE content highlighting
@@
-1875,7
+1875,13
@@
sub handle_loglevel_error ($) {
# Closing client socket 15 without sending data.
$c =~ s@(?<=on socket )(\d+)@$h{'Number'}$1$h{'Standard'}@;
$c =~ s@(?<=client socket )(\d+)@$h{'Number'}$1$h{'Standard'}@;
# Closing client socket 15 without sending data.
$c =~ s@(?<=on socket )(\d+)@$h{'Number'}$1$h{'Standard'}@;
$c =~ s@(?<=client socket )(\d+)@$h{'Number'}$1$h{'Standard'}@;
+
+ } elsif ($c =~ m/^Didn't receive data in time:/) {
+
+ # Didn't receive data in time: a.fsdn.com:443
+ $c =~ s@(?<=in time: )(.*)@$h{'destination'}$1$h{'Standard'}@;
}
}
+
# XXX: There are probably more messages that deserve highlighting.
return $c;
# XXX: There are probably more messages that deserve highlighting.
return $c;