migrated over to using the Logger class

all error outputs should be into an error database. one created for each
day that an error occurs. so could be several days between logs.