Deprecate logging classes to local database storage