fixing _log being appened to the database log file.