logging IP information