Refactored Logging and link reporting