fixed faillog logging bug #36