projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
819e837
)
Also highlight the compression level, now that it is logged, too
author
Fabian Keil
<fk@fabiankeil.de>
Thu, 18 Aug 2011 11:41:18 +0000
(11:41 +0000)
committer
Fabian Keil
<fk@fabiankeil.de>
Thu, 18 Aug 2011 11:41:18 +0000
(11:41 +0000)
tools/privoxy-log-parser.pl
patch
|
blob
|
history
diff --git
a/tools/privoxy-log-parser.pl
b/tools/privoxy-log-parser.pl
index
bc6f46c
..
0807186
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.1
19 2011/06/23 14:02:28
fabiankeil Exp $
+# $Id: privoxy-log-parser.pl,v 1.1
20 2011/06/29 20:29:12
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
@@
-1197,9
+1197,10
@@
sub handle_loglevel_re_filter ($) {
} elsif ($c =~ m/^Compressed content from /) {
} elsif ($c =~ m/^Compressed content from /) {
- # Compressed content from 29258 to 8630 bytes.
+ # Compressed content from 29258 to 8630 bytes.
Compression level: 3
$content =~ s@(?<=from )(\d+)@$h{'Number'}$1$h{'Standard'}@;
$content =~ s@(?<=to )(\d+)@$h{'Number'}$1$h{'Standard'}@;
$content =~ s@(?<=from )(\d+)@$h{'Number'}$1$h{'Standard'}@;
$content =~ s@(?<=to )(\d+)@$h{'Number'}$1$h{'Standard'}@;
+ $content =~ s@(?<=level: )(\d+)@$h{'Number'}$1$h{'Standard'}@;
} elsif ($c =~ m/^Reading in filter/) {
} elsif ($c =~ m/^Reading in filter/) {