]> git.ipfire.org Git - thirdparty/sarg.git/commit
Ignore empty URL in extended log format
authorFrederic Marchal <fmarchal@users.sourceforge.net>
Thu, 20 Aug 2015 18:16:14 +0000 (20:16 +0200)
committerFrederic Marchal <fmarchal@users.sourceforge.net>
Thu, 20 Aug 2015 18:16:14 +0000 (20:16 +0200)
commit7985798a972f0777641f374afdffeceaaa34a763
treee69eb03aaed964e469e85d1b9f6c368842818b55
parent284dab9976d92af6495a601e29ca7cc2514e35b0
Ignore empty URL in extended log format

The sample log provided here:
https://sourceforge.net/p/sarg/discussion/234317/thread/224c3daa/#a5ca
shows that some lines can have an empty URL.

It looks like it denotes failed connection attempts to unavailable
resources. Instead of aborting the processing, we ignore such lines.

The summary presented when debug output is enabled shows how many lines
have been ignored.
readlog_extlog.c