Fixed linkage problems introduced with logs