Implement logger in DBAccess