mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-28 02:21:59 +00:00
Add a log message after a storage is added
This commit is contained in:
parent
6a57bc8c0b
commit
691b28e98b
@ -137,6 +137,10 @@ AccessControlManager::AccessControlManager()
|
||||
|
||||
AccessControlManager::~AccessControlManager() = default;
|
||||
|
||||
void AccessControlManager::addStorage(const StoragePtr & new_storage) {
|
||||
MultipleAccessStorage::addStorage(new_storage);
|
||||
LOG_DEBUG(getLogger(), "Added storage '{}' of type '{}'", new_storage->getStorageName(), String(new_storage->getStorageType()));
|
||||
}
|
||||
|
||||
void AccessControlManager::setUsersConfig(const Poco::Util::AbstractConfiguration & users_config_)
|
||||
{
|
||||
|
@ -149,6 +149,8 @@ public:
|
||||
const ExternalAuthenticators & getExternalAuthenticators() const;
|
||||
|
||||
private:
|
||||
void addStorage(const StoragePtr & new_storage);
|
||||
|
||||
class ContextAccessCache;
|
||||
class CustomSettingsPrefixes;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user