Read SMC log file and write it to sqlite db with geoip support.