Added better logging to prefix