Small log bug
Adds better logging