bug fix to import 127.0.0.1 or ::1 from logs