Added logging back... not sure why it was removed