Added Logs to printing