Refinement of logging
Moved HAL to LOG instead of std::cout