[stats-dev] Code re-use...

Chris Jones fiddles at distributed.net
Mon Apr 25 00:42:15 EDT 2005


Jim C. Nasby wrote:

>In looking at the amount of duplicated code between hourly.pl land the
>log database stuff, I realized it's probably best if we modify the
>existing code to allow operating on both databases. I've already
>committed a guess at some of the config changes to allow this. Note the
>logdb parameter.
>
>Thoughts?
>  
>
It makes no sense re-inventing the wheel to do log import.  If we can 
add the log import logic into hourly.pl. then surely thats the better 
option.  Also means we won't have 2 seperate processes SCPing logs from 
master, as hourly.pl already has a copy.


More information about the stats-dev mailing list