Corrected mistake where logging was turned off instead of contracts