projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6ae21e3
)
privoxy-log-parser: Highlight 'Reducing the chunk offset from 16219 to 128 after...
author
Fabian Keil
<fk@fabiankeil.de>
Thu, 26 May 2022 14:10:49 +0000
(16:10 +0200)
committer
Fabian Keil
<fk@fabiankeil.de>
Fri, 10 Jun 2022 09:43:39 +0000
(11:43 +0200)
tools/privoxy-log-parser.pl
patch
|
blob
|
history
diff --git
a/tools/privoxy-log-parser.pl
b/tools/privoxy-log-parser.pl
index
3265ac7
..
f27188c
100755
(executable)
--- a/
tools/privoxy-log-parser.pl
+++ b/
tools/privoxy-log-parser.pl
@@
-1933,9
+1933,11
@@
sub handle_loglevel_connect($) {
} elsif ($c =~ m/^Reducing the chunk offset from/) {
# Reducing the chunk offset from 1096654 to 32704 after discarding 1063950 bytes to make room in the buffer.
} elsif ($c =~ m/^Reducing the chunk offset from/) {
# Reducing the chunk offset from 1096654 to 32704 after discarding 1063950 bytes to make room in the buffer.
+ # Reducing the chunk offset from 16219 to 128 after flushing 16091 bytes.
$c =~ s@(?<=\d to )(\d+)@$h{'Number'}$1$h{'Standard'}@;
$c =~ s@(?<=offset from )(\d+)@$h{'Number'}$1$h{'Standard'}@;
$c =~ s@(?<=after discarding )(\d+)@$h{'Number'}$1$h{'Standard'}@;
$c =~ s@(?<=\d to )(\d+)@$h{'Number'}$1$h{'Standard'}@;
$c =~ s@(?<=offset from )(\d+)@$h{'Number'}$1$h{'Standard'}@;
$c =~ s@(?<=after discarding )(\d+)@$h{'Number'}$1$h{'Standard'}@;
+ $c =~ s@(?<=after flushing )(\d+)@$h{'Number'}$1$h{'Standard'}@;
} elsif ($c =~ m/^Looks like we / or
$c =~ m/^Unsetting keep-alive flag/ or
} elsif ($c =~ m/^Looks like we / or
$c =~ m/^Unsetting keep-alive flag/ or