Move debug output to the right place

Everytime the method AddNeighbor() was called, a debug output was
written, even if no neighbor was added actually. The debug command
has been moved to the right place inside the method to only print
its log when a new neighbor was added.
Log initialization of Logger

As with everyother class, logger now logs its own initialization for
debugging purposes.