Quick fix of unassigned log function

Fixed bug with unassigned log function
Reduced logging amount