Fix for log