]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/store/postgresql/postgresql_store.cpp
Use "connected" subscription for detecting connection and disconnection.
[stg.git] / projects / stargazer / plugins / store / postgresql / postgresql_store.cpp
index 073fccab5d92ce84e8a46c5dd6d25e7973e6914b..7c79baff6b6df487391136caf3356d9f94db4b11 100644 (file)
@@ -70,7 +70,8 @@ POSTGRESQL_STORE::POSTGRESQL_STORE()
       mutex(),
       version(0),
       retries(3),
-      connection(NULL)
+      connection(NULL),
+      logger(GetPluginLogger(GetStgLogger(), "store_postgresql"))
 {
 pthread_mutex_init(&mutex, NULL);
 }