Skip to content

Log when Future is created by Store.future() #518

@gpauloski

Description

@gpauloski

Describe the Request

It would be helpful to log when we create a Future and with what key as we do with other Store methods.

key = self.connector.new_key()
factory: PollingStoreFactory[ConnectorT, T] = PollingStoreFactory(
key,
store_config=self.config(),
deserializer=deserializer,
evict=evict,
polling_interval=polling_interval,
polling_backoff_factor=polling_backoff_factor,
polling_interval_limit=polling_interval_limit,
polling_timeout=polling_timeout,
)
return Future(factory, serializer=serializer)

Also another logging improvement to make:

  • Registering a store and unregistering log at different levels which is confusing.

Sample Code

No response

Metadata

Metadata

Assignees

Labels

enhancementNew features or improvements to existing functionality

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions