Update Parser.cpp

added log stuff