[0.0.5m] Some updates on the Logging. Adding in a Database Error Logging functions