finalizing log class please test and report errors