makit print the log instead of writing to file and also print the ip of the person visiting your server