finding local ip dynamically
Some logging