Enable log functions