The webstats/MainTest fails. Maybe, remove or replace by other tests (it seems to test log line parsing, which is done in metrics-lib now).
Please take a look at this patch.
I tweaked the use of streams a little. Log line counts could be bigger than integer: use long in java and bigint in sql. If you think that it suffices to use int (and don't want to alter the db table) please introduce a cast to int at before writing to the db.
The webstats/MainTest fails. Maybe, remove or replace by other tests (it seems to test log line parsing, which is done in metrics-lib now).
Hmm, you're right. Everything's tested in metrics-lib, so we can just remove this test.
Please take a look at this patch.
I tweaked the use of streams a little. Log line counts could be bigger than integer: use long in java and bigint in sql. If you think that it suffices to use int (and don't want to alter the db table) please introduce a cast to int at before writing to the db.
Looks good. I'll alter the database table as part of deployment.
Please find my updated branch with your commit and with the removed test class. I think I'd like to squash all three commits into one, unless you think that's a bad idea.