Fix for logging whole thing