Fix for logging
Fix for logging